On Tue, Jun 22, 2010 at 6:00 PM, vineet <[email protected]> wrote:
> can someone help me.. i want my service to start as soon as the device
> starts and also the service to persis and remain started.

No, you don't.

http://www.androidguys.com/2009/09/09/diamonds-are-forever-services-are-not/

> it should destroy only when device switches off.

That is not possible.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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

Reply via email to