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 shou
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.
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.
String customUri = customIntent.toUri(0);