Link to Phone Browser not inAppBrowser

3 posts, 0 answers
  1. Gal
    Gal avatar
    3 posts
    Member since:
    Mar 2014

    Posted 21 Jun 2014 Link to this post

    Greetings,

    I'm trying to create a link that once clicked, will redirect you to the phones browser... for example, if you click on a Youtube link, it either sends you to your default application that opens the link or asks you in which app you'd like it to be open in.

    How would I go about doing that? a standard <a> tag for some reason doesn't do the trick...

    Cheers!
  2. Gal
    Gal avatar
    3 posts
    Member since:
    Mar 2014

    Posted 21 Jun 2014 in reply to Gal Link to this post

    I apologize, I seem to have posted this in the wrong place.
  3. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 23 Jun 2014 Link to this post

    Hello Gal,

    Have you tried the PhoneGap InAppBrowser API. You can set the target of the window.open() operation to _system thus forcing it to open the url in the system web browser. We have a sample app available demonstrating this behavior and you can take a look at it to see if this approach works for you.

    I hope that helps.

    Regards,
    Tina Stancheva
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top