title: Android get url from browser
body: <p>I am try to open my app on url click and get value from it, url looks like : path.com/item?key=value</p>
  
  <p>in manifest: </p>
  
  <pre><code>&lt;intent-filter&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;data
          android:host="path.com"
          android:pathPrefix="/item"
          android:scheme="http" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>but </p>
  
  <pre><code>Uri data = getIntent().getData(); 
  data.getPathSegments();
  Log.d("TAG", "param is:" + params.get(0);
  </code></pre>
  
  <p>returns: param is:item /item . how to get key=value or full url</p>