Or you could make use of the AlarmManager. On Jul 13, 8:59 am, Nadav <[email protected]> wrote: > However you might be able to set up a broadcast receiver for different > system events that would at least restart your service in case its > down. For example listening to the boot, phone being plugged into > power, etc.. > > Nadav > > On Jul 13, 7:44 am, Mark Murphy <[email protected]> wrote: > > > On Tue, Jul 13, 2010 at 3:49 AM, perumal316 <[email protected]> wrote: > > > I am writing an application to do fileobservation which can be done. > > > Is there any way I can make the application to run in the background > > > without killing it? > > > No, sorry. Anything can be killed by the user or the operating system. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > Android 2.2 Programming Books:http://commonsware.com/books
-- 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

