Software Archive
Read-only legacy content
17060 Discussions

[Version 2611] showRemoteSite works in emulate but not in the device

João_G_
Beginner
595 Views

Hi guys,

i'm trying to do a simple HTML5+cordova app to access a remote URL.

In terms of plugins installed i have:

StatusBar (Version 1.0.0), Device (Version 1.0.1) , Splashscreen (2.1.0), Intel XDK Device (1.2.4) and Network Information (1..0.1)

Then i insert this snippet code in the index.html inside of body structure:

<script>
intel.xdk.device.showRemoteSite("http://www.google.pt",280,0,50,50);
</script>

In the emulator works fine but when i test in the device (Android) the app open with a white page.

The debug works and don't detect nothing wrong.

Is anyone have the same issue?

Regards,

João Gaspar

0 Kudos
2 Replies
John_H_Intel2
Employee
595 Views

See this project that I created. I included the most recent of the intel.xdk.device plugin (1.2.5) and it works just fine.

0 Kudos
João_G_
Beginner
595 Views

Hi John,

thank you for your anwser. 

Works fine. The problem was my code :)

Best regards

João

0 Kudos
Reply