Reputation: 11
I need to somehow obtain the top level View object of the current application being run. My program is a service that needs to monitor the current application (another application of Activity type) in some way, in order to get its View hierarchy. Any suggestions?
Upvotes: 1
Views: 381
Reputation: 40387
You can't do this. For security reasons each application runs as it's own user id and has privacy from the others.
Upvotes: 2