title: How to open an activity using custom URI?
body: <p>I am trying to start an activity within my app from a custom uri returned from my service. </p>
  
  <p>For example my service is going to return me something like: "activity2".  Basically I want to start the activity that has the correct filter listening for the "activity2" intent. I am kind of stuck on how I would do this. Can anyone give me an example of some sort? </p>
  
  <p>In my Activity2 declaration I put this as an intent filter but it doesnt seem to work:</p>
  
  <pre><code>&lt;intent-filter&gt; 
      &lt;action android:name="activity2"/&gt; 
      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;data android:scheme="foo"/&gt; 
  &lt;/intent-filter&gt;
  </code></pre>