티스토리 뷰
1. 플러그인 추가 방법
Phonegap 3.0 에서 플러그인을 추가하는 방법입니다.
추가 방법은 간단합니다.
프로젝트가 생성된 폴더로 이동하여
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
위와 같은 명령어로 설치하여 주시면 됩니다.
외에도 추가된 플러그인을 확인하기 위하여
$ phonegap local plugin list
를 이용하여 설치된 플러그인의 id를 확인하실수 있으시며
$ phonegap local plugin remove org.apache.cordova.core.console
위와 같은 remove 명령어로 플러그인의 삭제역시 가능합니다.
2. 명령어 정리
설치
$ phonegap local plugin add GIT_ADDRESS
삭제
$ phonegap local plugin remove PLUGIN_ID
리스트 보기
$ plugin local list
3. 플러그인 리스트
Basic device information (Device API): 기본 창치 정보
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
Network Connection and Battery Events: 네트워크 접속 및 베터리 이벤트
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status.git
Accelerometer, Compass, and Geolocation: 가속기, 나침반, 위치
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion.git
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation.git
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
Camera, Media playback and Capture: 카메라, 미디어, 캡쳐
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git
Access files on device or network (File API): 장치 파일 및 네트워크 파일 관련 플러그인
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git
Notification via dialog box or vibration: 알람 박스 및 진동 관련 플러그인
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git
Contacts: 연락처
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts.git
Globalization: 국제화
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization.git
Splashscreen: 시작화면
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
Open new browser windows (InAppBrowser): 새로운 브라우져 여는 플러그인
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
Debug console: 콘솔 디버그
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
여기서 제가 자주 쓰는 플러그인은
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git phonegap local plugin add https://github.com/phonegap-build/PushPlugin.git
정도가 되겠군요. ( 복사해서 붙여 넣을려고 굳이 자주 쓰는 것들을 정리했습니다. )
'Dev Platform > Phonegap' 카테고리의 다른 글
Phonegap 3.0 버전 ( npm ) 업데이트 하기 (0) | 2015.03.08 |
---|---|
Phonegap 에서 IOS / Android 음악 ( mp3 ) 플레이시 화면 전환에도 계속 플레이 되게하기 (0) | 2015.03.06 |
Phonegap 기반 앱 IOS 에서 스크롤 오버시 창 위 아래로 움직이지(Bounce) 않게하기 (0) | 2015.03.05 |
Phonegap 3.0 개발 시작하기 (0) | 2015.03.05 |
Phonegap 프로젝트 생성하기 (0) | 2015.03.02 |
- Total
- Today
- Yesterday
- 설치
- 서버 개발
- Tutorialbook
- ubuntu
- 인터넷
- Developer
- Laravel
- 웹
- 우분투
- 게임 개발
- JavaScript
- 웹 서버
- 웹 개발자
- 웹 개발
- 튜토리얼북
- 데이터베이스
- cocos2d-x
- Nodejs
- it
- php
- 에러
- mac
- 서버
- 게임
- 개발자
- Database
- SNS
- 맥
- 개발
- html
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |