handleOpenURL or InvokeString?

3 posts, 1 answers
  1. Per
    Per avatar
    116 posts
    Member since:
    Jan 2008

    Posted 03 Aug 2013 Link to this post

    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. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Aug 2013 Link to this post

    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.
  3. Per
    Per avatar
    116 posts
    Member since:
    Jan 2008

    Posted 23 Aug 2013 Link to this post

    Thank you!
    I got it working now.

    Regards
    Per
Back to Top