title: Can I send class as extra with intent?
body: <p>I'm trying to pass class name with extra, how to do that ?</p>
  
  <pre><code>Intent p = new Intent(StartScreen.this, Setting.class);
  p.putExtra(" ",StartScreen.this);
  </code></pre>
  
  <p>I want to get the class name in Setting class but I don't want it to be <code>String</code> cause I'm going to use this class name like that :</p>
  
  <pre><code>Bundle extras = getIntent().getExtras();
  extras.getString("class");
  Intent i = new Intent(Setting.this, class);
  startActivity(i);
  </code></pre>