oh thanks Dianne, Does that mean there's no defined ways so far to determine whether an app is killed or not?
On Jan 3, 1:31 am, "Dianne Hackborn" <hack...@android.com> wrote: > Please don't write an app that depends on parsing stuff out of the logs. > This is not a defined part of the SDK, and your app will surely break in the > future. > > > > On Fri, Jan 2, 2009 at 2:20 PM, focuser <linto...@gmail.com> wrote: > > > Thanks Alistair and Dianne, > > > Now I understand that a notification is not possible, > > > But how does an app with READ_LOGS permission access system log? I > > couldn't find any documentation about this either. I'm guessing if > > one could read the log, the app could pretty much know when an app is > > killed because the ActivityManager write a line into the log when this > > happens. > > > On Jan 2, 11:29 am, "Dianne Hackborn" <hack...@android.com> wrote: > > > No, sorry. > > > > On Fri, Jan 2, 2009 at 8:26 AM, focuser <linto...@gmail.com> wrote: > > > > > anyone please? > > > > > On Jan 1, 10:26 am, focuser <linto...@gmail.com> wrote: > > > > > Just to clarify: by this I meant to receive notification when > > > > > onDestroy, onStop etc in other applications are called, i.e. somehow > > > > > monitor the life cycle of apps running on the phone. > > > > > > On Dec 31 2008, 5:01 pm, focuser <linto...@gmail.com> wrote: > > > > > > > Hi, > > > > > > > Is there a way to programmatically receive notification onDestroy, > > > > > > onStop, and onPause etc in other applications on the phone? > > > > > > > I see there's a READ_LOGS permission and guess this might be > > achieved > > > > > > by reading the system log. But I couldn't find anything to access > > the > > > > > > system logs. > > > > > > > Thanks and Happy New Year! > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support. All such questions should be posted on public > > > forums, where I and others can see and answer them. > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---