title: Send checkbox to another Activity
body: <p>I have a TO DO List, and I when the checkbox is checked i want the item in the ListView to go to another activity in the app. This is my adapter code:</p>
  
  <pre><code>public class MyItemAdapter extends ArrayAdapter&lt;String&gt;  {
  
  private final Context context;
  private final String[] values;
  
      public MyItemAdapter(Context context, String[] values) {
      super(context, R.layout.item_list, values);
      this.context = context;
      this.values = values;
  }
  
  @Override
    public View getView(int position, View convertView, ViewGroup parent) {
      LayoutInflater inflater = (LayoutInflater) context
          .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
      View rowView = inflater.inflate(R.layout.item_list, parent, false);
      CheckBox textView = (CheckBox) rowView.findViewById(R.id.checkBox1);
      textView.setText(values[position]);
  
      return rowView;
    }
  
  public static SparseBooleanArray getCheckedItemPositions() {
      // TODO Auto-generated method stub
      return null;
  }
  
  public static void remove(Object pos) {
      // TODO Auto-generated method stub
  
  }
  
  public void changeData(String[] items) {
      // TODO Auto-generated method stub
  
  }
  
  public static void setAdapter(MyItemAdapter mAdapter) {
      // TODO Auto-generated method stub
  
  }
  </code></pre>
  
  <p>}</p>
  
  <p>And this is the code i have done so far:</p>
  
  <pre><code>check = (CheckBox) findViewById(R.id.checkBox1);
        check.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
  
          @Override
          public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
              if(isChecked){
  
              }
  </code></pre>
  
  <p>What code should I put for it the item to go to a different activity.</p>
  
  <p>Please Help.</p>