This is a migrated thread and some comments may be shown as answers.

Start app from link in Email

7 Answers 69 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Frank
Top achievements
Rank 1
Frank asked on 26 Apr 2013, 05:14 PM
Hi.

How can I get the app to start from an email?  I'm thinking some sort of link but not sure how to do it.  Detailed instructions would be fantastic.

Thanks

7 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 29 Apr 2013, 02:03 PM
Hi Frank,

What you are trying to achieve can be done with custom URL scheme (myapp:// for example) that gets registered for the application.

For iOS Cordova handles this out-of-the box if the schema is defined in the Info.plist file. You can read more about it here. Icenium currently does not expose this configuration file for direct editing.

For Android this can be implemented with Intents which gets configured in the AndroidManifest.xml and this custom Cordova plugin that handles the intent. Again Icenium currently cannot enable this scenario easily.

We plan to expose those configuration files for editing in one of our next updates of the product. We are also working on adding support for custom Cordova plugins that will enable the Android scenario.

 

All the best,
Stefan Dobrev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Paul
Top achievements
Rank 1
answered on 14 Jun 2013, 07:03 PM
"Icenium currently does not expose this configuration file for direct editing."

Is this something that will be exposed in the near future? I'd like to be able to open another Icenium application from a new Icenium application if possible using one of the following:

<a href="app1://">Open App</a>
<a href="com.xxx.app1://">Open App</a>

Paul
0
David Silveria
Top achievements
Rank 1
answered on 14 Jun 2013, 08:52 PM
Yes, those configuration files would be exposed for next version, end of the month!
0
Paul
Top achievements
Rank 1
answered on 26 Jul 2013, 01:38 PM
David,

I'm finally back around to dealing with this issue. I see that the Andriod and iOS config files have been exposed, but I'm still at a loss to how to configure these files. Where do I need to make changes to allow for me to simply call my custom app from another custom app using something along the lines of:

<a href="app1://">Open App</a>
<a href="com.xxx.app1://">Open App</a>

I have not done previous Android or iOS development, so I am new to this and would love a detailed example, not just a link to iOS or an Android development site.

Thanks in advance,

Paul
0
Steve
Telerik team
answered on 31 Jul 2013, 02:45 PM
Hello Paul,

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.

Regards,
Steve
Telerik

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.
0
Frank
Top achievements
Rank 1
answered on 29 Aug 2013, 03:04 PM
I imported the project just fine (nice feature).  I'm accessing a webpage with the link on it.  When I click the link in iOS I get "Safari cannot open the page because the address is invalid."  Is this because the app is running through Ion?
0
Steve
Telerik team
answered on 03 Sep 2013, 08:29 AM
Hi Frank,

Just tested navigating from an app deployed in ION and it worked as expected. Please try with provisioned app deployed directly on device and if you're still having problems, please provide us with the HTML page from which you navigate and the device you test on.

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
General Discussion
Asked by
Frank
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Paul
Top achievements
Rank 1
David Silveria
Top achievements
Rank 1
Steve
Telerik team
Frank
Top achievements
Rank 1
Share this question
or