7 Replies Latest reply on Jan 22, 2018 3:52 AM by marting79263568

    Blank page when testing simple example with PhoneGap developer App

    marting79263568 Level 1

      Hello;

       

      I am new using Phonegap and I am trying to find how to make my index.html to simply redirect to a web page built with jquery-mobile.

       

      To learn how, I did this simple example:

       

      <!DOCTYPE html>
      <html>
        <head>
        <meta charset="utf-8">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
        <title>Blank App 3</title>
        </head>
        <body>
        <script type="text/javascript" src="cordova.js"></script>
        <script>window.location="http://www.google.com";</script> 
        </body>
      </html>

       

      When I connect to the server using Chrome (from Windows desktop or from an Android device) it works very well. But when I try on Android device using Phonegap Developer App, I get a white page.

       

      Please, what is missed?.

       

      Thank you very much!

       

      Martin.