Tuesday, June 28, 2011

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

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 to get the view instance of that activity.
From this Activity's parameter how to get the foreground activity's
view instance?

Thanks in Advance.

Regards,
Kalai

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment