我正试图创造一些东西,使用户/用户能够连接他们的电话,与申请进行手工互动,并了解他们互动工作的各种信息。
There is plenty information available about what occurs as a result of the interaction using logcat/ActivityManager, but my problem is, I have no way of seeing which button(s) in particular have been pressed during the interaction with the app. I would like to be able to see the button text, or at least the button ID.
我探讨了各种记录者,但所有这些记录都只是通过协调屏幕触动而触及的,这无助于看到哪些县实际上受到压力。
I would hope to have this work without making major changes to the source code. For example, making the developer put a Log.d() call after each button press isn t ideal. I have heard that making an instrumentation allows you to add things to the source code separately, which may work, but I don t quite understand how to implement an instrumentation.
我怎么能找到哪一个纽顿受到压制?