On Mon, Nov 8, 2010 at 11:27 AM, Raj <[email protected]> wrote: > Hi All, > I have a service in my application, that keeps running in the device > to interact with our server. > I found that there are certain application available in Android Market > app, that can kill the services running in a given application. > > Is there any way to protect our service getting killed by the 3rd > party applications? This can be certainly done if we run the > application as a system process. But is it possible while running > under dalvik? > > Regards, > Rajan >
Rajan, You should make you service deal with kills rather than making it kill-proof. Better still, try running your service as a timer triggered polling simple 1 pass at the time rather than making it bullet proof. Imagine few applications like yours running on the phone. Daniel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

