Book Image

Developing Mobile Web ArcGIS Applications

Book Image

Developing Mobile Web ArcGIS Applications

Overview of this book

Table of Contents (14 chapters)
Developing Mobile Web ArcGIS Applications
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Plugins


For an app to communicate with various device-level features, you need to add plugins that provide access to core PhoneGap/Cordova APIs. These include geolocation, network information, battery status, camera, and device orientation. A plugin is add-on code that provides an interface for native components.

Note

For a full list of the 500 plugins, go to http://plugins.cordova.io/#/viewAll.

A plugin is added using the command line. You can add the geolocation by using the following command:

>cordova plugin add org.apache.cordova.geolocation