title: How to add an activity with tabs to my project
body: <p>I'm trying to add an activity to my project with navigation tabs using the wizard provided by eclipse. I got an error while trying to open the generated activity-template from my code.</p>
  
  <p>File -> New -> Android Activity -> Blank Activity -> Navigation Type = </p>
  
  <p>Activity Name: TabsActivity
  Navigation Type: Fixed Tabs + Swipe: Finish</p>
  
  <p>A template is created but when I'm trying to open the new activity with an intent I got a NullPointerException as a runtime error.</p>
  
  <pre><code>Intent tabs = new Intent(MainActivity.this, TabsActivity.class);
  startActivity(tabs);
  </code></pre>
  
  <p>Should the generated activity template work immediately, or is the additional steps installing/integrating the new activity with the rest of the project.</p>