error in using calendar in android?
<p>I am trying to open calendar from my app and using the code below as i found it in this question :<a href="http://stackoverflow.com/questions/5034788/how-can-i-open-the-calendar-from-my-app/5035119#5035119">how can i open the calendar from my app?</a> ...but getting following error </p>

<blockquote>
  <p>07-01 14:19:26.299:
  ERROR/AndroidRuntime(14167): Caused
  by:
  android.content.ActivityNotFoundException:
  Unable to find explicit activity class
  {com.google.android.calendar/com.android.calendar.LaunchActivity};
  have you declared this activity in
  your AndroidManifest.xml?</p>
</blockquote>

<p>any help will be useful..</p>

<pre><code>Intent i = new Intent();
    ComponentName cn = new ComponentName("com.google.android.calendar", "com.android.calendar.LaunchActivity"); 
    i.setComponent(cn); 
    startActivity(i);
</code></pre>
