title: Open links in the amazon application with android intent
body: <p>I am looking for a solution to open amazon pages directly in the amazon application. I found the product intent scheme, like this one, and it works:</p>
  <pre><code>String url = &quot;com.amazon.mobile.shopping://amazon.it/products/ASIN&quot;;
  Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
                  startActivity(browserIntent);
  </code></pre>
  <p>Now I'm looking for the scheme to open promotional pages or other pages, i managed to isolate the following script used by amazon to redirect the links in the application, but i can't build a valid android intent.</p>
  <pre><code>&lt;script&gt;
  P.when('deeplinking-utils').execute(function (DeepLinkingUtils) {
      new DeepLinkingUtils.DeepLinkInstance({
        &quot;webUrl&quot;:         &quot;https://www.amazon.it/stores/page/44356AF7-3F18-4DD1-B225-78D8F6C4AE59?_encoding=UTF8&amp;ref_=pe_undef&amp;rw_useCurrentProtocol=1&quot;,
        &quot;appStoreUrl&quot;:    &quot;market://details?id=com.amazon.mShop.android.shopping&amp;referrer=utm_campaign%3Dm2cab%26utm_source%3Dm2cab_pdown%26utm_medium%3Dpdown&quot;,
        &quot;appUrl&quot;:         &quot;intent://amazon.it/stores/page/44356AF7-3F18-4DD1-B225-78D8F6C4AE59?rw_useCurrentProtocol=1&amp;ref=pe_undef&amp;chgexp=MSHOP&amp;dl_sid=261-1156871-3045023#Intent;scheme=com.amazon.mobile.shopping.web;package=com.amazon.mShop.android.shopping;S.browser_fallback_url=https%3A%2F%2Fwww.amazon.it%2Fstores%2Fpage%2F44356AF7-3F18-4DD1-B225-78D8F6C4AE59%3Frw_useCurrentProtocol%3D1%26ref_%3Dpe_undef;end&quot;,
        &quot;method&quot;:         DeepLinkingUtils.Method.INTENTS,
        &quot;action&quot;:         &quot;AutoRedirectAttempted&quot;,
        &quot;refTag&quot;:         &quot;mm_an_eml_attempt&quot;,
        &quot;failAction&quot;:     &quot;AutoRedirectFailed&quot;,
        &quot;failRefTag&quot;:     &quot;mm_an_eml_fail&quot;,
        &quot;campaignId&quot;:     &quot;Redirector_EmailRedirector&quot;,
        &quot;clientToken&quot;:    &quot;EmailRedirector&quot;,
        &quot;treatmentId&quot;:    &quot;an_em&quot;,
        &quot;openWebUrlOnSuccess&quot;: true,
        &quot;autoRedirect&quot;:   true,
        &quot;timeout&quot;:        1000,
        &quot;fallbackMethod&quot;: DeepLinkingUtils.Fallback.WEBURL
      });
  });
  &lt;/script&gt;
  </code></pre>
  <p>do you have any ideas?</p>