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 <[email protected]> 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" <[email protected]> wrote: > > No, sorry. > > > > > > > > On Fri, Jan 2, 2009 at 8:26 AM, focuser <[email protected]> wrote: > > > > > anyone please? > > > > > On Jan 1, 10:26 am, focuser <[email protected]> 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 <[email protected]> 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 > > [email protected] > > > > 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 [email protected] 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 [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 -~----------~----~----~----~------~----~------~--~---

