content: package com.share.jack.customviewpath;
  
  import android.app.Activity;
  import android.content.Intent;
  import android.os.Bundle;
  import android.view.View;
  
  public class MainActivity extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
  //        findViewById(R.id.am_btn_test).setOnClickListener(new View.OnClickListener() {
  //            @Override
  //            public void onClick(View v) {
  //                startActivity(new Intent(MainActivity.this, TestActivity.class));
  //            }
  //        });
  
          findViewById(R.id.am_btn_status).setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  startActivity(new Intent(MainActivity.this, StatusActivity.class));
              }
          });
  
  //        findViewById(R.id.am_btn_location).setOnClickListener(new View.OnClickListener() {
  //            @Override
  //            public void onClick(View v) {
  //                startActivity(new Intent(MainActivity.this, LocationActivity.class));
  //            }
  //        });
      }
  }
  