![]() ![]() I created two separate Activities, one as intent receiver and the other as intent launcher. Bug 80971: URI with custom scheme are not clickable in SMS Text (Linkify?).For a workaround see this StackOverflow post: OAuth and custom scheme result in a "ERR_UNKNOWN_URL_SCHEME" in Chrome Bug 459156 of the Chromium project This basicly means launching custom schemes from the Android browser does not work unless the URL is applied using JavaScript.I tried out your custom URI and it works on Android 5.0īut you should be aware of the following two bugs/issues: Gif showing browser + JavaScript opening the Activity To try it, open the Android browser go to the url below and copy paste the above snippet in the editor: Users landing on this page will automatically be prompted with either an Activity chooser dialog or directly send to your Activity. Window.location = 'customscheme://customHost/49FYTJTF00' Your scheme should only contain lowercase characters!Īlso note that bug 459156 of the chromium project still doesn't allow you to launch url's directly, you should reference users to a webpage containing this JavaScript code: After testing and testing, I found that if your scheme contains an uppercase character the browser won't be able to launch it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |