Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
PhoneGap 4 Mobile Application Development Cookbook

You're reading from   PhoneGap 4 Mobile Application Development Cookbook Build real-world hybrid mobile applications using the robust PhoneGap development platform

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781783287949
Length 356 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Welcome to PhoneGap 3 FREE CHAPTER 2. Movement and Location – Using the Accelerometer and Geolocation Sensors 3. Filesystems, Storage, and Local Databases 4. Working with Audio, Images, and Video 5. Working with Your Contacts List 6. Hooking into Native Events 7. Working with XUI 8. Working with the Ionic Framework 9. Ionic Framework Development 10. User Interface Development 11. Extending PhoneGap with Plugins 12. Development Tools and Testing Index

Using Android Studio to develop Android Cordova applications

Android Studio is the official IDE for developing Android applications, based on IntelliJ IDEA. It provides an easier workflow to develop Android applications compared to using Eclipse.

Getting ready

Opening an Android Cordova application is very simple:

  1. Download Android Studio from http://developer.android.com/sdk/index.html, as shown in this screenshot:
    Getting ready
  2. Launch Android Studio.
  3. Select Import project (Eclipse ADT, Gradle, etc.), as shown in the following screenshot:
    Getting ready
  4. For the Gradle Sync question, you can simply answer Yes.
  5. Select the location where the android platform is stored (phonegap-cookbook/chapter12/hello/platforms/android).
  6. Your application is ready and can be run directly from Android Studio.
    Getting ready

    Note

    For more information about building using Android Studio, visit http://developer.android.com/tools/building/building-studio.html.

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