title: how to open an activity with url scheme android
body: <p>I have two activities.</p>
  
  <p>1.mainactivty.java </p>
  
  <p>2.URL.java</p>
  
  <p>now I would like to open second activity (URL.java) and I get <code>0</code> or <code>1</code> by using url scheme.</p>
  
  <p>my manifest.xml :</p>
  
  <pre><code>    &lt;activity
          android:name=".MainActivity"
          android:label="@string/app_name" &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;/activity&gt;
  
      &lt;activity
          android:name="com.example.ex18_urlschme.URL"
          &gt;
  
          &lt;intent-filter &gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;action android:name="android.intent.action.VIEW"/&gt;
              &lt;data android:scheme="com.shadyab.shadyab"/&gt;
              &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
          &lt;/intent-filter&gt;
  
      &lt;/activity&gt;
  </code></pre>
  
  <p>on a php page :</p>
  
  <pre><code>&lt;button onclick="location.href='com.shadyab.shadyab:/status=0'"&gt;click me&lt;/button&gt;
  </code></pre>
  
  <p>(after click on <code>click me</code>,I want to open URL.java and I get value of status. may be 0 or 1 ).</p>
  
  <p>how can I do ? </p>