[android-developers] Re: How to find out when any activity starts or get focus

2012-03-01 Thread Put_tiMe
How do I register for IActivityWatcher? On Thursday, March 18, 2010 3:02:48 PM UTC+5:30, Csenteri Barna wrote: 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

[android-developers] Re: How to find out when any activity starts or get focus

2010-03-18 Thread Csenteri Barna
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

[android-developers] Re: How to find out when any activity starts or get focus

2010-03-17 Thread Bob Kerns
OK, consider these scenarios. Let's say you have a popular app, but someone doesn't like you -- perhaps a competitor, or someone with some religious or political objection to your content, or something. So they release an app that does something that gets people to download it -- but also