Advertisement
Guest User

wole index

a guest
Sep 2nd, 2013
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10.  
  11. http://www.apache.org/licenses/LICENSE-2.0
  12.  
  13. Unless required by applicable law or agreed to in writing,
  14. software distributed under the License is distributed on an
  15. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. KIND, either express or implied. See the License for the
  17. specific language governing permissions and limitations
  18. under the License.
  19. -->
  20. <html>
  21. <head>
  22. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  23. <meta name="format-detection" content="telephone=no" />
  24. <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
  25. <link rel="stylesheet" type="text/css" href="css/index.css" />
  26. <title>Hello World</title>
  27. </head>
  28. <body>
  29. <div class="app">
  30. <h1>Apache Cordova</h1>
  31. <div id="deviceready" class="blink">
  32. <p class="event listening">Connecting to Device</p>
  33. <p class="event received">Device is Ready</p>
  34. </div>
  35. </div>
  36. <script type="text/javascript" src="cordova.js"></script>
  37. <script type="text/javascript" src="PushNotification.js"></script>
  38. <script type="text/javascript" src="js/index.js"></script>
  39. <script type="text/javascript">
  40. app.initialize();
  41. </script>
  42.  
  43. <input type="button" value="Register" style="width: 200px; height: 100px;" onClick="registerPushwoosh();" >
  44. <input type="button" value="Unregister" style="width: 200px; height: 100px;" onClick="unregisterPushwoosh();" >
  45. </body>
  46. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement