Android: Add entry to the calendar
<p>I am trying to add entry to the calendar,but it threwn error.</p>

<p>Source code:</p>

<pre><code> Intent intent = new Intent(Intent.ACTION_EDIT);
        intent.setType("vnd.android.cursor.item/event");
        intent.putExtra("title", "test");
        intent.putExtra("description", "Popis");
        intent.putExtra("eventLocation", "Somewhere");
        intent.putExtra("beginTime", System.currentTimeMillis () + 60 * 60 * 1000);
        intent.putExtra("endTime", System.currentTimeMillis () + 2 * 60 * 60 * 1000);
        startActivity(intent);
</code></pre>

<p>Sorry for my English i am beginner.
Thanks for answer.</p>
