Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试在我的应用程序运行时记录我的 UI 状态。我可以使用robotium 来浏览UI,但我希望我可以有一个像Hierarchy Viewer 工具这样的编程接口,它可以为我提供特定时间点的UI 属性。任何评论表示赞赏。谢谢!
好吧,由于 Hierarchy Viewer 是开源的,您可以查看它的代码并尝试制定某种准 API。但是,由于您的方法将不受支持,因此有时您可能不得不重新审视您的工作并对其进行更新以考虑到新的变化adb等等。
adb