title: Link to an android application from SMS/mail
body: <p>I would like to know if we can have a link in a SMS that would be handle by my application. For example a link which would look like myapp://blabla. And by clicking on it myapp would be open with the link as an argument. </p>
  
  <p>This question also refers to email, either from a file with a special extension or a link like in the SMS. </p>
  
  <p>Thanks a lot for your help. </p>
  
  <hr>
  
  <p>Edit 31/01</p>
  
  <p>Actually, I did what Greg suggested it but it doesn't work. Such a link (myapp://blabla) is not clickable in a SMS/email...When I replace myapp with http as a scheme, it works (Android asks me wether it should open the link with myapp or the browser). But myapp://blabla isn't clickable with myapp as a scheme.
  Here is my code:</p>
  
  <pre><code>   &lt;application android:icon="@drawable/icon" android:label="@string/app_name"
  android:debuggable="true"&gt;
  &lt;activity android:name=".myapp"
            android:label="@string/app_name"
            android:theme="@android:style/Theme.NoTitleBar"
            android:launchMode="singleTask"
            android:screenOrientation="portrait"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.MAIN" /&gt;
          &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
      &lt;/intent-filter&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.VIEW" /&gt;
              &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;data android:scheme="myapp" android:host="blabla" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  
      &lt;activity android:name=".SecondActivity"&gt;&lt;/activity&gt;
      &lt;activity android:name=".SettingsActivity"&gt;&lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>