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

PhoneGap setup


There are a number of ways to create a mobile app with PhoneGap. We will be using the Cordova command-line-interface or CLI. The CLI provides cross-platform support, meaning that we can generate hybrid apps for all supported platforms. Our focus in this chapter is to build and deploy an Android-specific mobile ArcGIS app.

We will spend some time in this section walking through the initial Cordova setup. This is a little time consuming, but it needs to be done only once. The following instructions walk you through a Windows setup:

  1. First, install node.js. Go to http://nodejs.org/ and select the Install button that will download the .msi file. Double-click and proceed with the setup.

  2. Ensure that you have installed both a Java SDK (Software Development Kit) and the JRE (Java Runtime Environment). Check that your JAVA and JAVA_HOME variables are correctly set.

    Note

    The PATH variable needs to contain the path to the bin folder of the Java installation, which is C:\Program Files\Java...

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