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

Link to Phone Browser not inAppBrowser

2 Answers 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gal
Top achievements
Rank 1
Gal asked on 21 Jun 2014, 10:03 PM
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 Answers, 1 is accepted

Sort by
0
Gal
Top achievements
Rank 1
answered on 22 Jun 2014, 01:12 AM
I apologize, I seem to have posted this in the wrong place.
0
Tina Stancheva
Telerik team
answered on 23 Jun 2014, 03:51 PM
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.

 
Tags
General Discussions
Asked by
Gal
Top achievements
Rank 1
Answers by
Gal
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or