While Apple has documentation
covering this subject and Cordova has made sure this is handled gracefully out of the box (see here
), the same does not apply for Android.
As my colleague mentioned in previous post, one would need to use Intents
configured in the AndroidManifest.xml (see Edit Configuration Files
) and and WebIntent
custom Cordova plugin that handles the intent. You can find more information on getting it to run in Icenium in the following forum thread
. The first part is required for the custom URL scheme to work and the second part is required for handling any query string parameters by using the getUri method. In the sample project I've prepared and attached to this post, we use the query string params to navigate to a specific page in the opened app.
Use the Add From Archive option in Mist/Graphite to import the archive in a blank project. Then you can test how it works by using a simple redirect from another app e.g.:
<a href="myapp://views/navigate.html">Open App</a>
I would prepare and post a blog next week that would detail the project creation.
Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.