title: Create calendar event in the default android calendar
body: <p>I have the following code to do something when a button is pressed. I would like to be able to have the button create a calendar event for March 3rd, 2013 at 10:00 am.  All help is appreciated.</p>
  
  <p>Code:</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      //Button button = (Button)findViewById(R.id.button1);
     // button.setOnClickListener(this);
      final CheckBox checkBox = (CheckBox) findViewById(R.id.checkBox1);
      final CheckBox checkBox2 = (CheckBox) findViewById(R.id.checkBox2);
  
  
      final Button button = (Button) findViewById(R.id.button1);
      button.setOnClickListener(new View.OnClickListener()
      {
          public void onClick(View v) {
  
  
               if (checkBox.isChecked()) {
  </code></pre>