开发者

Is there a way to programmatically detect UI components of an Android app?

I want to take the source, or preferably just the .apk file, and find o开发者_运维知识库ut all the UI components of an Android application (ex. XML layout).

Is there any way to accomplish this task?

Thanks.


You can use apktool or APK Manager (that uses apktool) for reverse engineering.

And Hierarchy Viewer is an SDK tool for layout debugging.


Layoutopt with the Android SDK will let you do this. You can connect to a device/emulator with the app in question running and see how its screens are laid out and such.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜