title: android calendar
body: <pre><code>ComponentName componentName = new ComponentName("com.android.calendar",
          "com.android.calendar.LaunchActivity");
  if (componentName != null) {
      Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
      // com.android.providers.calendar.CalendarProvider
      intent.setFlags(android.content.Intent.FLAG_ACTIVITY_NEW_TASK);
  
      intent.setComponent(componentName);
      startActivity(intent);
  } else {
      Log.i("", "98979");
  }
  </code></pre>
  
  <p>LogCat returns the following error:</p>
  
  <blockquote>
    <p>ERROR/AndroidRuntime(601): Caused by: android.content.ActivityNotFoundException:<br>
    Unable to find explicit activity class <code>{com.android.calendar/com.android.calendar.LaunchActivity}</code>;<br>
    have you declared this activity in your AndroidManifest.xml?</p>
  </blockquote>
  
  <p>What is the new calendar address or package?</p>