I understand this scenarios Bob and I agree with You.
But what you say is DOABLE right now very-very easy with a background
service which is polling the current task (current activity)
periodically using the ActivityManager.getCurrentTasks function (ofc
GET_TASKS right is needed for it). This solution will eat a bit more
cpu that's it, but it is working, tried already. Since this wasn't
considered as a vulnerability I thought it is a simplier way to
achieve this. Maybe after Dianne reads this it won't be possible in
the next versions :)

>IActivityWatcher
Thank You Dianne - I'll try this one.

At the end we might completly drop this feature - it seems to be too
complicated, we wanted only if it's easy, doesn't eats too much
resources and doesn't needs big changes in the activity manager deep
code. We will give led control for custom aplications via a service or
a lib which is more important for us. We'll see.

>moved to android-porting
I think we can close this one - Your answer cleared up what is
possible and what's not. TY.

-- 
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

Reply via email to