launch link in default phone browser

6 posts, 0 answers
  1. Michael
    Michael avatar
    151 posts
    Member since:
    Jan 2012

    Posted 27 Nov 2013 Link to this post

    is there a way to have a hyperlink open in a browser? not inside of the app, but external to the app?

    I set:  data-rel="external" target="_blank", but that just still opens it up inside of the app.
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2895 posts

    Posted 28 Nov 2013 Link to this post

    Hi Michael,

    I tested the scenario you described and got everything to work as expected. Could you please check my sample and let me know what I am missing?

    Regards,
    Alexander Valchev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Michael
    Michael avatar
    151 posts
    Member since:
    Jan 2012

    Posted 02 Dec 2013 Link to this post

    In my app, the view is changed dynamically, so the html inside the view is modified depending on the user input. Maybe the link needs to be loaded from the start of the app for the parameters to take effect? Using the same specifications as your example - the webpage will load inside of the app if I add the code into the view dynamically as I need to.
  4. Michael
    Michael avatar
    151 posts
    Member since:
    Jan 2012

    Posted 02 Dec 2013 Link to this post

    Actually, it loads inside of the app even if I just add it statically to the initial view. This is on android and IOS. Is there something else about my app that could prevent it from opening it externally? 
  5. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2895 posts

    Posted 03 Dec 2013 Link to this post

    Hi Michael,

    Generally speaking manual change of the HTML after the initialization of the application is not supported.

    Could you please try to isolate the issue you experience in a sample jsBin page similar to the example which I provided in my previous reply? In this way I will be able to examine your exact scenario in details and assist you further.
    Thank you in advance for the cooperation.

    Regards,
    Alexander Valchev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Michael
    Michael avatar
    151 posts
    Member since:
    Jan 2012

    Posted 03 Dec 2013 Link to this post

    The app is probably too complex to supply a simple example. I think I will just use the Child Browser Plugin, as that has a button to close it. Thats really all I need: a window that can go away and won't overtake the app view.
Back to Top