topical media & game development

talk show tell print

mobile-application-11-DerbyApp-www-index.htm / htm



  
  
  <!DOCTYPE html>
  <html>
    <head>
    <title></title>
    
      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
          <meta charset="utf-8">
          <script type="text/javascript" charset="utf-8" src="phonegap-1.3.0.js"></script>
          <script type="text/javascript" src="jquery.min.js"></script>
          
  </head>
  
  <body onload="onBodyLoad()">
          <div id="divPlayers">
                  Test Page
          </div>
  </body>
      <script type="text/javascript">
  
          function onBodyLoad()
          {                
  
                          document.addEventListener("deviceready", onDeviceReady, false);
                  
          }
  
          function onDeviceReady()
          {
                  alert('OnDeviceReady');
                  
                  try{
                          printToConsole('This line wasn\'t Terminated');
                  }
                  catch(err)
                  {
                          alert(err);
                  }
                  
                  alert('Done With onDeviceReady');
          }
  
          function printToConsole(stringToPrint)
          {
                  console.log(stringToPrint);        
          }
  
      
      </script>
  
  </html>
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.