title: Difference between two ways to start activity with intent?
body: <p>Can someone please explain the difference between the two ways to start another activity?  I've tried both and they seem to work the same so I'm trying to figure out when to use one over the other if it matters at all.  </p>
  
  <p>I'm thinking that the latter example would allow <strong>ActivityA</strong>(this) to send an Intent to the Android system to start <strong>ActivityC</strong> from <strong>ActivityB</strong>?  Not really sure, I'm just guessing that if you changed the context of this to something else but I don't know why anyone would need to do this. Can someone please explain the pros and cons of one over the other and possibly an example?  </p>
  
  <pre><code>Intent name = new Intent("android.intent.action.NAME") 
  
                  vs 
  
  Intent name = new Intent(this, NameActivity.class)
  </code></pre>
  
  <p>checked out: </p>
  
  <ul>
  <li><p><a href="http://developer.android.com/guide/components/intents-filters.html" rel="nofollow">http://developer.android.com/guide/components/intents-filters.html</a></p></li>
  <li><p><a href="http://developer.android.com/guide/components/intents-common.html" rel="nofollow">http://developer.android.com/guide/components/intents-common.html</a></p></li>
  </ul>