-
1. Re: Can I set a URL scheme for an Android viewer app?
Prabhjyot Kaur Feb 5, 2014 4:02 AM (in response to paulhatcher)Hello Paul,
The custom URL scheme is offered by the iOS platform and not for android.
You will not find this option in Dps app builder for android.
-
2. Re: Can I set a URL scheme for an Android viewer app?
paulhatcher Feb 5, 2014 5:29 AM (in response to Prabhjyot Kaur)Hi,
Yes i noticed it wasn't there for Android, hence the question. So - to clarify - is there no way of adding a URL scheme for android? Not even a workaround?
Does anyone know of any way of opening an Android view app from a web page or another app?
Thanks
Paul
-
3. Re: Can I set a URL scheme for an Android viewer app?
chrisperez04 May 28, 2014 4:52 AM (in response to Prabhjyot Kaur)Can you add this feature to the request list?
We'd definitely appreciate a custom URL scheme solution for Android (and Windows 8.1 while we're at it).
Directly linking to app (and specific articles) is a powerful feature we'd like to use across all platforms.
-
4. Re: Can I set a URL scheme for an Android viewer app?
Neil Enns - Adobe May 28, 2014 6:41 AM (in response to chrisperez04)I'll add it to the list for both Android and Windows, however it's unlikely to get done any time soon.
Neil
-
5. Re: Can I set a URL scheme for an Android viewer app?
Andrey_ZR Aug 13, 2014 1:10 AM (in response to Neil Enns - Adobe)I'm waiting for it too.
Neil, is there any news?
-
6. Re: Can I set a URL scheme for an Android viewer app?
Neil Enns - Adobe Aug 13, 2014 7:23 AM (in response to Andrey_ZR)No news, sorry. We do not have plans to add this to the native viewer at this point.
Neil
-
7. Re: Can I set a URL scheme for an Android viewer app?
Bob Bringhurst Aug 13, 2014 8:58 AM (in response to paulhatcher)Have you tried linking using the "market://" prefix? You should be able to use several methods to link to an Android app. You just can't do any deep linking based on a custom URL scheme that you can do in iOS viewers.
-
8. Re: Can I set a URL scheme for an Android viewer app?
Andrey_ZR Aug 13, 2014 11:41 PM (in response to Bob Bringhurst)Bob, "market://" prefix is working, but it will launch Google Play and not the app. I'm using direct entitlement with banner and web form, so i need a way to return to my app from the web browser.
-
9. Re: Can I set a URL scheme for an Android viewer app?
Andrey_ZR Aug 13, 2014 11:48 PM (in response to Neil Enns - Adobe)Sad to hear it, Neil. We need this solution for Windows and Android.
As far as i know, both systems have this capability as well.
-
10. Re: Can I set a URL scheme for an Android viewer app?
Neil Enns - Adobe Aug 14, 2014 6:17 AM (in response to Andrey_ZR)If you just want to launch an external app you don't need anything from the viewer to do that as far as I know. Just make a hyperlink with the correctly formatted URL.
You can't, however, do a link to another DPS app that dives directly into a folio or article.
Neil
-
11. Re: Can I set a URL scheme for an Android viewer app?
Andrey_ZR Aug 14, 2014 6:51 AM (in response to Neil Enns - Adobe)Neil, may you please provide me with example of such link?
-
12. Re: Can I set a URL scheme for an Android viewer app?
Neil Enns - Adobe Aug 14, 2014 9:06 AM (in response to Andrey_ZR)I read back up your post and you're trying to do DE sign-up via an external website? I would just tell your readers to use the device's hardware back button to return to your app, or use a full custom store to integrate the account creation experience into the app. Relying on OS-level app URLs to try and get back to the app seems fragile and tough to get working.
Neil
-
13. Re: Can I set a URL scheme for an Android viewer app?
Andrey_ZR Aug 15, 2014 12:04 AM (in response to Neil Enns - Adobe)Yes, i'm using it for DE sign up and subscription purchase. The process takes about 5 steps in browser. When user finishes all the steps, back button doesn't return to the app. It works just like Back button in browser. To return to the app user need to push it 5-6 times, so this is not a solution. Off course, i can give text instruction, what to do next. But return URL will be better solution for this case. And in iOS - again - it works this way.
-
14. Re: Can I set a URL scheme for an Android viewer app?
Neil Enns - Adobe Aug 15, 2014 9:45 AM (in response to Andrey_ZR)Ok I went next door and talked to a dev, and I was wrong about this on Android. We are not registering a custom URL scheme so there is no way to trigger the app via a hyperlink from a webpage.
Neil
-
15. Re: Can I set a URL scheme for an Android viewer app?
Liberty Builder Sep 1, 2014 10:04 AM (in response to paulhatcher)So this is doable assuming you have access to the native Android code in the app you are linking from. You can use the package name for your DPS Android application to launch it. You won't be able to use deep linking or anything like that, but you will be able to launch to the Library.
See the following github project as a reference for a Cordova / Phonegap plugin that does this for you (if you are not using Cordova / Phonegap, then I linked to the source as well). The Cordova Launcher plugin will let you determine if the device is able to launch an app via package. You can then decide whether you want to launch the app w/ the package or you want to push the user to the app store to download the application. Both of these options can be handled w/ the Launcher plugin.
If you want to push the user to the app store then use something like : market://details?id=[package name]
Cordova Launcher Plugin : nchutchind/App-Launcher-Cordova-Plugin · GitHub
Android Source Code (Reference if not using Cordova / Phonegap) App-Launcher-Cordova-Plugin/Launcher.java at master · nchutchind/App-Launcher-Cordova-Plugin · GitHub:




