[android-developers] An activity, a service and receivers - an architectural question

2009-01-21 Thread Kuba Lipiński
Hello, I'm not sure if I correctly understand the application life cycle and would like to consult the architecture of my application with the group. My application is intended to perform some time consuming (about 30 seconds) operation from time to time. The operation can be either invoked by t

[android-developers] How to receive connectivity change notifications?

2009-01-23 Thread Kuba Lipiński
Hello, I would like my service to be started when the phone is connected to the Internet. I created a class MyReciever which extends BroadcastReceiver and starts my service when onReceive is called with intent android.net.conn.CONNECTIVITY_CHANGE as parameter. I added following lines to my appl

[android-developers] Re: How to receive connectivity change notifications?

2009-01-29 Thread Kuba Lipiński
heers, Kuba On Jan 23, 8:12 pm, Kuba Lipiński wrote: > Hello, > > I would like my service to be started when the phone is connected to > the Internet. > > I created a class MyReciever which extends BroadcastReceiver and > starts my service when onRec

[android-developers] How to manually show the EditTextPreference dialog?

2009-02-11 Thread Kuba Lipiński
Hi, I have a Preferences dialog with some EditTextPreference elements. The preference values can be edited by end-users when they click on the particular item. However, at the first application launch, I would like to create a sort of wizard to guide the end-users through the configuration. I nee