diff --git a/Geolocation/README.md b/Geolocation/README.md new file mode 100644 index 0000000..f3b683e --- /dev/null +++ b/Geolocation/README.md @@ -0,0 +1,8 @@ +Geolocation API 사용하기 +======================= + +**소개** +- Geolocation API를 사용해서 샘플 앱을 작성합니다. + +**실행 방법** +- Firefox OS Simulator를 이용하여, 구동해 볼 수 있습니다. diff --git a/Geolocation/index.html b/Geolocation/index.html new file mode 100644 index 0000000..a80113c --- /dev/null +++ b/Geolocation/index.html @@ -0,0 +1,85 @@ + + + + + + Geolocation J + + + + + + + +
+
+ 현재 위치 받아오기 +
+ +
+
+ +
+ + + diff --git a/Geolocation/manifest.webapp b/Geolocation/manifest.webapp new file mode 100644 index 0000000..6d03294 --- /dev/null +++ b/Geolocation/manifest.webapp @@ -0,0 +1,38 @@ +{ + "name": "J Geolocation", + "description": "Geolocation Sample by J Team", + "type": "certified", + "launch_path": "/index.html", + "developer": { + "name": "The Gaia Team J", + "url": "https://github.com/mozilla-b2g/gaia" + }, + "permissions": { + "storage":{}, + "settings":{ "access": "readonly" }, + "geolocation": {} + }, + "locales": { + "ar": { + "name": "Geolocation", + "description": "Gaia Geolocation" + }, + "en-US": { + "name": "J Geolocation", + "description": "Gaia Geolocation" + }, + "fr": { + "name": "Gelocation", + "description": "Gaia Geolocation" + }, + "ko": { + "name": "지오로케이션", + "description": "지오로케이션" + } + }, + "default_locale": "ko", + "icons": { + "128": "/style/geo_icon.png" + }, + "orientation": "portrait-primary" +}