title: How to pass parameters to android app on first open from install via link(not play store)
body: <p>Say you have the following links on a page:</p>
  
  <pre><code>&lt;a href=".../app-debug.apk"&gt;Download App&lt;/a&gt;
  &lt;a href="my://app?id=123"&gt;Open App&lt;/a&gt;
  </code></pre>
  
  <p>Then in the manifest(I know this is the hacky way of doing it):</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:scheme="my" android:host="app" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>And finally, in the activity:</p>
  
  <pre><code>Uri data = getIntent().getData();
  String id = data.getQueryParameter("id");
  </code></pre>
  
  <p>With this setup, the user has to click the download link, download the .apk, install it, go back to the page, and click the open link.</p>
  
  <p>I wonder if there's a way to combine the download and open operations into one - perhaps pass the id parameter to the first link and somehow have it pass that on to the app. </p>
  
  <p>I would like to do this without using the play store. (My issue with play store is this app is for a private group - but the group does not have Google accounts that could be used to distribute via play store private channel)</p>