[android-beginners] Get notification about service death

2010-08-02 Thread Vladyslav Namashko
Hi all, Is it possible to get some notification (to BroadcastReciver for example) about service death? As far as I know there is method 'linkToDeath' in IBinder interface, that must be called, when binder will be dead, but I can't understand how to use it :( So, can anyone helps me with 'linkToDe

[android-beginners] 'on click' listener to app widget

2010-04-02 Thread Vladyslav Namashko
Hi all, Some built in Android widgets (like 'Music', a lot of specific HTC apps...) has on 'click listeners' (for example, music has 'play' and 'next' buttons). So, is there possibility to add such listeners to my widget or to some certain view from widget (I found only setOnClickPendingIntent met

[android-beginners] Custom installation

2010-04-02 Thread Vladyslav Namashko
Hi all, Is there a possibility to create custom installation for android app with possibilities to: 1) include user agreement in the installation procedure 2) make one installation for two .apk packages, that should be installed successively in appropriate order. I think it's possible to create a

Re: [android-beginners] Multi activity app

2010-01-22 Thread Vladyslav Namashko
Thanks. Issue can be closed. On Fri, Jan 22, 2010 at 1:13 PM, Mark Murphy wrote: > > Mark, if I understand correctly Android Performance dev guide 'Launch an > > empty activity' means, creating new instance of Activity. > > Yes. > > > So every time > > when > > I want to switch between activities

Re: [android-beginners] Multi activity app

2010-01-22 Thread Vladyslav Namashko
Mark, if I understand correctly Android Performance dev guide 'Launch an empty activity' means, creating new instance of Activity. So every time when I want to switch between activities it will take o lot of time. Now, when I'm trying to test this situation (app with 3 activity) on my device and em

[android-beginners] Multi activity app

2010-01-22 Thread Vladyslav Namashko
Hi all. I have application with several activities and I want to find the best way to switch between activities. Maybe, the simpliest way is to use Intent to start one activity from another: Intent intent = new Intent(First.this, Second.class); startActivity(intent); It works fine

Re: [android-beginners] Extra SDK and NDK ability + couple questions

2010-01-20 Thread Vladyslav Namashko
are only 10 types of people in the world... > Those who know binary and those who don't. > ------ > > > On Fri, Jan 15, 2010 at 8:05 AM, Vladyslav Namashko > wrote: > >> Hello there, >> I'm newbi

[android-beginners] Re: Failed while creating activity to handle Intent

2010-01-18 Thread Vladyslav Namashko
Hi Mark, here is my AndroidManifest.xml http://schemas.android.com/apk/res/android"; package="com.example"> and class to start activity public class TestHelloWorld extends Ac

[android-beginners] Failed while creating activity to handle Intent

2010-01-18 Thread Vladyslav Namashko
Hi all, I'm trying to launch simple ipc example using intent. Example from o'reilly book : (http://books.google.com.ua/books? id=SoOvFjTXwA4C&pg=PA259&lpg=PA259&dq=Example:+An+Intent+to+Pick+How+We +Say+%E2%80%9CHello+World %E2%80%9D&source=bl&ots=oD2oE4Dey8&sig=XSVaZPBXAbLTNhEhR- OMFK6g_1g&hl=ru&

[android-beginners] SDK and NDK. Additional possibilities

2010-01-17 Thread Vladyslav Namashko
Hello there, I'm newbie in Android dev, so maybe my questions sound a little bit stupid, but: 1) Is there some possibility to obtain additional SDK and NDK api? (maybe some partners program or something else) 2) Are there any known SDK frameworks (interesting frameworks for network solutions) 3) Wh

[android-beginners] Extra SDK and NDK ability + couple questions

2010-01-17 Thread Vladyslav Namashko
Hello there, I'm newbie in Android dev so maybe my questions will sound stupid, but: 1) Is there some additional SDK or NDK (ideally - both) extensions? Maybe some certificates must be obtained to get this extensions(or maybe core level API or 'root authorities')? 2) What kind of IPC between java a