开发者

How can I obtain the current View object on Android OS?

I need to somehow obtain the top level View object of 开发者_C百科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?


You can't do this. For security reasons each application runs as it's own user id and has privacy from the others.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜