> The platform deliberately does not provide easy mechanisms to do this, > because monitoring what the user is doing is not something to encourage.
If someone wants to do it for 'bad' reasons, they're not going to be discouraged by a little extra time and extra resource usage of having to poll for it! Not providing an event for this just penalizes devs/users with a 'legitimate' need for the info. > You haven't said why you want to do this, but I would discourage you from > whatever path you are going down here. Users like to do different things depending on which app they are using (different screen brightness, timeout, turn on/off wifi for Internet etc). Automation apps are reduced to battery-expensive polling to provide this currently. Pent -- 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