Skip to content
Local server for Android's HierarchyViewer
Latest commit 017c01c Feb 1, 2016 @romainguy Merge pull request #30 from desertjim/patch-1
Enhancing Readme

ViewServer is a simple class you can use in your Android application to use the HierarchyViewer inspection tool.

ViewServer requires the Android SDK r12 or higher.

Quick Start

If you do need this library then follow these directions:

  • Include the ViewServer library(easy directions found here)
  • Your application must require the INTERNET permission
  • The recommended way to use this API is to register activities when they are created, and to unregister them when they get destroyed:
public class MyActivity extends Activity {
    public void onCreate(Bundle savedInstanceState) {
        // Set content view, etc.

    public void onDestroy() {

    public void onResume() {

Please refer to the documentation in for more info.

Something went wrong with that request. Please try again.