title: Start an activity with an intent from another activity's ContextMenu
body: <p>I don't know how to start an <code>Intent</code> to call another activity from my <code>ContextMenu</code>. I have the following code: </p>
  
  <pre><code>    public void onCreate(Bundle savedInstanceState){
              super.onCreate(savedInstanceState);
              setContentView(R.layout.profile);
      Button button5 = (Button) findViewById(R.id.button5);
          registerForContextMenu(button5);
      //...code...//
  
      @Override
      public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo){
          super.onCreateContextMenu(menu, v, menuInfo);
          menu.setHeaderTitle("Profile Options");
          menu.add(0,v.getId(),0, "Header");
          menu.add(0,v.getId(),0, "Header");
  
  **This is where my Intent is ** Intent intent = new Intent (CustomizeActivity2.this, CustomizeActivity.class);
      startActivity(intent);
  
      public boolean OnContextItemSelected(MenuItem item) {
          if(item.getTitle()=="Edite Profile"){
  
              function1(item.getItemId());
              }
  
          else {return false;}
          return true;
      }
  
      public void function1(int id){
          Toast.makeText(this,"Edit Profile Called", Toast.LENGTH_SHORT).show();  
      }
  </code></pre>
  
  <p>I want to start another activity when I'm clicking the item from my <code>ContextMenu</code>, where I have some settings. </p>