Launching My App Using The Intent Uri
I know this has been asked a lot of times in StackOverflow already, but I haven't quite found a solution yet. My app sends an email with a link in it that when clicked should launc
Solution 1:
You could try quotes around your URLs in your <a>
elements, since that is how HTML is supposed to be written.
You might also try confirming, via parseUri()
, PackageManager
, and queryIntentActivities()
, if your generated URL resolves to something -- if it does not, then there is a problem with the URL.
Here is a sample project showing the use of URI_INTENT_SCHEME
, in case it gives you any ideas.
Solution 2:
Use zero flag to create URI with your custom scheme. Intent.URI_INTENT_SCHEME
flag forces "intent:" scheme (and overall intent URI crazy syntax) to be used.
StringcustomUri= customIntent.toUri(0);
Post a Comment for "Launching My App Using The Intent Uri"