This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Notes</title> | |
| <link rel="stylesheet" href="jquery.mobile-1.3.1.min.css" /> | |
| <script src="jquery-1.7.1.min.js"></script> | |
| <script src="jquery.mobile-1.3.1.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version":"1.0", | |
| "name": "Notes", | |
| "description": "This app uses the HTML5 Storage API to demonstrate how to save data in your Firefox OS Apps.", | |
| "launch_path": "/index.html", | |
| "icons": { | |
| "16": "/images/icon_016.png", | |
| "32": "/images/icon_032.png", | |
| "48": "/images/icon_048.png", | |
| "128": "/images/icon_128.png" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version":"1.0", | |
| "name": "LocateMe", | |
| "description": "This app uses the HTML5 Geolocation API to retrieve your current position and plot on the map using Google Maps.", | |
| "launch_path": "/index.html", | |
| "icons": { | |
| "16": "/images/icon_016.png", | |
| "32": "/images/icon_032.png", | |
| "48": "/images/icon_048.png", | |
| "128": "/images/icon_128.png" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function(){ | |
| $("#btnLocateMe").click(function(){ | |
| findMyCurrentLocation(); | |
| }); | |
| }); | |
| function findMyCurrentLocation(){ | |
| var geoService = navigator.geolocation; | |
| if (geoService) { | |
| navigator.geolocation.getCurrentPosition(showCurrentLocation,errorHandler,{enableHighAccuracy:true}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Map Me</title> | |
| <link rel="stylesheet" href="jquery.mobile-1.3.1.min.css" /> | |
| <script src="jquery-1.7.1.min.js"></script> | |
| <script src="jquery.mobile-1.3.1.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version":"1.0", | |
| "name": "LocateMe", | |
| "description": "This app uses the HTML5 Geolocation API to retrieve your current position and plot on the map using Google Maps.", | |
| "launch_path": "/map.html", | |
| "icons": { | |
| "16": "/images/icon_016.png", | |
| "32": "/images/icon_032.png", | |
| "48": "/images/icon_048.png", | |
| "128": "/images/icon_128.png" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function(){ | |
| $("#btnLocateMe").click(function(){ | |
| findMyCurrentLocation(); | |
| }); | |
| }); | |
| function findMyCurrentLocation(){ | |
| var geoService = navigator.geolocation; | |
| if (geoService) { | |
| navigator.geolocation.getCurrentPosition(showCurrentLocation,errorHandler); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Locate Me</title> | |
| <link rel="stylesheet" href="jquery.mobile-1.3.1.min.css" /> | |
| <script src="jquery-1.7.1.min.js"></script> | |
| <script src="jquery.mobile-1.3.1.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>India Pincodes</title> | |
| <link rel="stylesheet" href="jquery.mobile-1.3.1.min.css" /> | |
| <script src="jquery-1.7.1.min.js"></script> | |
| <script src="jquery.mobile-1.3.1.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>India Pincodes</title> | |
| <link rel="stylesheet" href="jquery.mobile-1.3.1.min.css" /> | |
| <script src="jquery-1.7.1.min.js"></script> | |
| <script src="jquery.mobile-1.3.1.min.js"></script> |