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

handleOpenURL or InvokeString?

2 Answers 38 Views
Apple iOS
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Per
Top achievements
Rank 1
Per asked on 03 Aug 2013, 12:37 PM
Hi!

I want to use a custom scheme to allow a parameter (a url) to be send to my application when the user clicks on the link inside the users browser on the users mobile device.

I figured out how to setup the plist and android file to allow a custom sheme to start the application but what is the best way to get the url the user clicked on?

In my application I want to achive the following:
1) I want the user to click on a url looking like this:   abcd:///http/www.aaa.com/test 
2) I want my application to retrive http/www.aaa.com/test from the url and save it to local storage.

Is this possible?

Regards
Per

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 05 Aug 2013, 03:37 PM
Hi Per,

Yes it is possible to accomplish this. For more information on iOS refer to the following links:
You can use the substr function to extract the querystring from the URL.

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
Per
Top achievements
Rank 1
answered on 23 Aug 2013, 12:20 PM
Thank you!
I got it working now.

Regards
Per
Tags
Apple iOS
Asked by
Per
Top achievements
Rank 1
Answers by
Steve
Telerik team
Per
Top achievements
Rank 1
Share this question
or