That activity manager API was never intended to be used to poll the state, it was there to provide debugging information.
I regret making it part of the SDK. There is really no good use of it for regular applications, and lots of bad uses. I do agree that having facilities to provide restricted environments for children are important. I think the goal in the platform will probably be to provide this as a feature in the platform, not an API for people to build on top of. On Fri, Jul 27, 2012 at 8:00 AM, Pent <supp...@apps.dinglisch.net> wrote: > > By the way, I think anyone at Google would argue this is a security hole, > > so I'm not alone > > They seem to allow services to do virtually anything that an activity > can do at virtually any time. Doesn't seem to me they consider it a > security hole. > > My app is called Tasker. It uses ActivityManager polling, which I > detest. > > 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 > -- 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, and so won't reply to such e-mails. 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