You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
@romainguy recently told me about ViewServer, a utility class he open sourced, which can be used to enable HierarchyViewer on your apps even if you don't have a rooted / engineer build phone.
@romainguy recently told me about
ViewServer, a utility class he open sourced, which can be used to enable HierarchyViewer on your apps even if you don't have a rooted / engineer build phone.The source is here: https://github.com/romainguy/ViewServer/tree/master/src/com/android/debug/hv
I think it could be nice to bake such a feature into AndroidAnnotations using a specific annotation (such as
@DebugView), e.g. :This would automatically enable the ViewServer on the activity, ie doing this :
Also note that
android:debuggablemust be set to true in theAndroidManifest.xmlfor theViewServerto work.Should we issue a compile warning on a
ViewServerannotation ifandroid:debuggableis false ?