Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Open Native browser from an iframe with external source

Melvin_R_
Beginner
1,040 Views

 

Hi guys, 

I'm currently developing a advertising 'sort of' app,and I need to update the content without re-submitting the app to the Play Store, so I'm using an iframe to load the content from my website.

I know iframe are not recommended but I need it to be that way. (Unless someone give me an alternative). Ok the thing is I want to open a few links in the native browser (links like google maps and social media websites) from this frame. Since this is iframe is loading external content, is there a way to do this? Handle the links and open them in the android native browser? from the content on my website? 

Sorry for my bad english, I hope you can understand me.

0 Kudos
3 Replies
Dale_S_Intel
Employee
1,040 Views

Try the InAppBrowser plugin available under core plugins, or here - https://github.com/apache/cordova-plugin-inappbrowser.

Just go to the projects page, select "Add Plugin"->"Core Plugins"->InAppBrowser.

Dale

 

0 Kudos
Melvin_R_
Beginner
1,040 Views

Dale Schouten (Intel) wrote:

Try the InAppBrowser plugin available under core plugins, or here - https://github.com/apache/cordova-plugin-inappbrowser.

Just go to the projects page, select "Add Plugin"->"Core Plugins"->InAppBrowser.

Dale

 

Hi,

it doesn't work with the links inside the iframe (my website). 

0 Kudos
Melvin_R_
Beginner
1,040 Views

never mind, I guees it works now. thanks

0 Kudos
Reply