- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I am loading an external page (webiste) into intel xdk Android App , How do i go about showing Admob banners , the normal method of adding the plugin and the code into the xdk index file does not work . is there any code that i should put in the remote site that is loaded in the App .
I am a bit lost and appreciate any help !
Thanks
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your admob ads will only show on top of your apps webview. Typically, when you bring in another web page it opens a new "view" that is sandboxed and has no access to the Cordova APIs. Check the inAppBrowser plugin, there may be a way to get it to work using that plugin. Read the plugin docs carefully to understand the different ways that plugin will work with external pages.
In general, using an app as a shortcut to loading a web site is not considered good form for your app and may be rejected by some of the app stores
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Paul F. (Intel) wrote:
Your admob ads will only show on top of your apps webview. Typically, when you bring in another web page it opens a new "view" that is sandboxed and has no access to the Cordova APIs. Check the inAppBrowser plugin, there may be a way to get it to work using that plugin. Read the plugin docs carefully to understand the different ways that plugin will work with external pages.
In general, using an app as a shortcut to loading a web site is not considered good form for your app and may be rejected by some of the app stores
Thanks Paul , i am using the inAppBrowser plugin and i don't think there is a way to achieve what i want with it !
You are right , it's a bad idea loading an external site in an app and i will take your suggestion and use everything in the app .
All is fine for now , thanks

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page