title: Android url schema to open the application
body: <p>I want to open the application when user enter a url. I saw this for an application. For example, if some one enter this url in the browser, a dialog opens and ask user to open the application or browser . </p>
  
  <p>This is my code but it's not working :</p>
  
  <p>Manifest :</p>
  
  <pre><code>&lt;activity
          android:name="ir.mywebsite.goblin.FistActiivty"
          android:label="@string/app_name" &gt;
          &lt;intent-filter&gt;
              &lt;data android:scheme="http" android:host="mywebsite.ir"/&gt;
              &lt;action android:name="android.intent.action.VIEW" /&gt;
  
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>This is the url that I enter in the browser but nothing happens.</p>
  
  <pre><code>http://mywebsite.ir/p-120
  </code></pre>
  
  <p>the 120 is the id that I want to get in my application and shows the data but first I need to open my application when the url is opened. </p>
  
  <p>How can I do so ? </p>
  
  <p>Thanks </p>