[android-developers] Re: Running Application as Service

2009-09-10 Thread javame_android
Hi, I want to continuously listen for incoming messages in background. So what would be the best way of doing it? Shall I make that application as Service or just registering it as BroadCast Receiver would do. If I register the listener then will it keep on running continuously. This receiver

[android-developers] Re: Running Application as Service

2009-09-10 Thread javame_android
Hi, I am currently just registering Broadcast Receiver for reading incoming messages. And this also works in Background which is what I required. Now is that Broadcast Receiver unregistered by Android Application Manager automatically or will it be able to process every incoming message. I just

[android-developers] Re: Running Application as Service

2009-09-09 Thread Mark Murphy
javame_android wrote: I want the application to run in background. This application should run continuously and should never get killed. Strictly speaking, that is not possible. Will running application as Service solve this issue? Not really. Services can be killed by Android (e.g., low