mercredi 6 mai 2015

Deep link to a different URI

Anyone knows if it's possible to have provide a Html tag on a website so if the user click the link in the browser the app can get the content from a different Uri?

Reading Google Doc found this:

<html>
<head>
  ...
  <link rel="alternate" href="android-app://com.example.android/http/example.com/gizmos" />
  ...
</head>
<body> … </body>

(in link)

I'm pointing to my app and the app is able to grab the intent but the data that is provided in it is the original link not the "alternate":

getIntent().getDataString() - > original link

Aucun commentaire:

Enregistrer un commentaire