Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing Mobile Web ArcGIS Applications

You're reading from   Developing Mobile Web ArcGIS Applications Learn to build your own engaging and immersive geographic applications with ArcGIS

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784395797
Length 156 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

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
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image