Re: [android-developers] How to get View instance from Activity's PID,UID,Process name, PkgList?

2011-06-29 Thread Mark Murphy
On Tue, Jun 28, 2011 at 11:17 PM, PKS kalaiselva...@gmail.com wrote: I am new to android. I created a service. From my service, I can able to get which application is running in foreground. I am doing this with the help of ActivityManager.getRunningAppProcesses(). From this I can able to

[android-developers] How to get View instance from Activity's PID,UID,Process name, PkgList?

2011-06-28 Thread PKS
Hi, I am new to android. I created a service. From my service, I can able to get which application is running in foreground. I am doing this with the help of ActivityManager.getRunningAppProcesses(). From this I can able to get the Activity's PID, PkgList, Process name, UID. But I don't know how