Can I statically find/access an android view outside of an application?
I am connecting the phone to adb and was wondering if there was a way to access a view outside of an application.
Thanks.
(Similar to Hierarchy Viewer, but being able to 开发者_如何学Clook at the data associated with the View [the content that one might find in an XML])
I am connecting the phone to adb and was wondering if there was a way to access a view outside of an application.
Romain Guy just released his ViewServer within the past couple of hours, which allows Hierarchy View to examine UIs on a device the way it can examine UIs on an emulator. However, this requires adding code to your application -- as @lobner indicates, this is a serious security issue, which is why the platform does not expose this sort of information by default.
精彩评论