Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- PhoneGap is available under *either* the terms of the modified BSD license *or* the MIT License (2008).
- See http://opensource.org/licenses/alphabetical for full text.
- Copyright (c) 2005-2011, Nitobi Software Inc.
- Copyright (c) 2010-2011, IBM Corporation
- website: http://phonegap.com
- -->
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" id="viewport" content="initial-scale=1.0,user-scalable=no">
- <link rel="stylesheet" href="sencha/resources/css/sencha-touch.css" type="text/css">
- <script type="text/javascript" src="sencha/sencha-touch-debug.js"></script>
- <script src="json2.js" type="text/javascript"></script>
- <script src="phonegap.0.9.6.min.js" type="text/javascript"></script>
- <script type="text/javascript">
- // invoked when device is ready
- function deviceInfo() {
- alert('deviceInfo()');
- }
- // register PhoneGap event listeners when DOM content loaded
- function init() {
- alert('init()');
- document.addEventListener("deviceready", deviceInfo, true);
- }
- </script>
- </head>
- <body onload="init()">
- <h3>Test</h3>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement