From f46087c18059517a2938efd44cc2c4dd3cfc3207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=AF=BC=EC=B0=BD=ED=98=84?= Date: Fri, 16 Aug 2013 11:28:47 +0900 Subject: [PATCH] Geolocation import --- Geolocation/README.md | 8 ++++ Geolocation/index.html | 85 +++++++++++++++++++++++++++++++++++++ Geolocation/manifest.webapp | 38 +++++++++++++++++ 3 files changed, 131 insertions(+) create mode 100644 Geolocation/README.md create mode 100644 Geolocation/index.html create mode 100644 Geolocation/manifest.webapp 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" +}