12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="format-detection" content="telephone=no">
- <meta name="msapplication-tap-highlight" content="no">
- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">
- <link rel="stylesheet" type="text/css" href="css/index.css">
- <title>Hello World</title>
- </head>
- <body>
- <div class="app">
- <h1>Apache Cordova</h1>
- <div id="deviceready" class="blink">
- <p class="event listening">Connecting to Device</p>
- <p class="event received">Device is Ready</p>
- </div>
- <button onclick="hasReadPermission()">has read permission</button><br/><br/>
- <button onclick="requestReadPermission()">req read permission</button><br/><br/>
- <button onclick="hasWritePermission()">has write permission</button><br/><br/>
- <button onclick="requestWritePermission()">req write permission</button><br/><br/>
- <button onclick="hasReadWritePermission()">has readwrite permission</button><br/><br/>
- <button onclick="requestReadWritePermission()">req readwrite permission</button><br/><br/>
- <button onclick="openCalendar()">open calendar</button><br/><br/>
- <button onclick="listCalendars()">list calendars</button><br/><br/>
- <button onclick="createCalendar()">create calendar</button><br/><br/>
- <button onclick="deleteCalendar()">delete calendar</button><br/><br/>
- <button onclick="createCalendarEvent()">create event</button><br/><br/>
- <button onclick="createCalendarEventWithOptions()">create event with options</button><br/><br/>
- <button onclick="createCalendarEventInteractively()">create event interactively</button><br/><br/>
- <button onclick="createCalendarEventInteractivelyWithOptions()">create event interactively with options</button><br/><br/>
- <button onclick="deleteEvent()">delete event</button><br/><br/>
- <button onclick="findEventWithFilter()">find event with filter</button><br/><br/>
- <button onclick="findEventNoFilter()">find event no filter</button><br/><br/>
- <button onclick="listEventsInRange()">list events in range</button>
- </div>
- <script type="text/javascript" src="cordova.js"></script>
- <script type="text/javascript" src="js/index.js"></script>
- <script type="text/javascript" src="js/demo.js"></script>
- </body>
- </html>
|