Apache Cordova 3 Programming [NOOK Book]

Overview

Covers PhoneGap 3.X


Written for experienced mobile developers, Apache Cordova 3 Programming  is a complete introduction to Apache Cordova 3 and Adobe PhoneGap 3.  It describes what makes Cordova important and shows how to install and use the tools, the new Cordova CLI, the native SDKs, and more. If you’re brand new to Cordova, this book will be just what you need to get started. If you’re familiar with an older version of Cordova, this book will show you in detail ...

See more details below
Apache Cordova 3 Programming

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$22.49
BN.com price
(Save 10%)$24.99 List Price

Overview

Covers PhoneGap 3.X


Written for experienced mobile developers, Apache Cordova 3 Programming  is a complete introduction to Apache Cordova 3 and Adobe PhoneGap 3.  It describes what makes Cordova important and shows how to install and use the tools, the new Cordova CLI, the native SDKs, and more. If you’re brand new to Cordova, this book will be just what you need to get started. If you’re familiar with an older version of Cordova, this book will show you in detail how to use all of the new stuff that’s in Cordova 3 plus stuff that has been around for a while (like the Cordova core APIs).


After walking you through the process of downloading and setting up the framework, mobile expert John M. Wargo shows you how to install and use the command line tools to manage the Cordova application lifecycle and how to set up and use development environments for several of the more popular Cordova supported mobile device platforms. Of special interest to new developers are the chapters on the anatomy of a Cordova application, as well as the mechanics of Cordova development. Wargo also covers the development process and the tools you can use to test and debug your Cordova applications, and provides a complete chapter that introduces the Cordova APIs, in addition to a chapter that shows you how to create your own plugins.


Filled with lots of examples and code, the book includes includes complete coverage of Android, iOS, BlackBerry 1,0 and Windows Phone development for Cordova.


Topics covered include

  • How to install and use the Cordova CLI and associated tools
  • How to configure the Android developer tools (ADT) to run, test, and debug your Cordova applications for Android
  • How to use Xcode—Apple’s development tool for iOS development—to run, test, and debug Cordova applications for iOS devices
  • How to use the Safari browser to debug Cordova applications on iOS devices
  • How to use the Microsoft development tools to run, test, and debug Cordova applications for Windows Phone 8
  • How to set up and use the PhoneGap Build service to package Cordova applications and share those applications with others
  • How to create Cordova plugins for both Android and iOS


The author maintains a web site for the book at cordovaprogramming.com where updates, errata, and the source code for the book are available.

 

Read More Show Less

Product Details

  • ISBN-13: 9780133521856
  • Publisher: Pearson Education
  • Publication date: 12/16/2013
  • Series: Mobile Programming
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 262
  • Sales rank: 909,558
  • File size: 38 MB
  • Note: This product may take a few minutes to download.

Meet the Author

John M. Wargo is a professional software developer, product manager, and writer, focusing on mobile development and mobile development tools. John currently works for SAP as a product manager for the SAP Mobile Platform and is responsible for some of SAP’s products that use Apache Cordova. Previously he worked for BlackBerry, BoxTone, and AT&T

 

He is the author of the popular introduction to PhoneGap, PhoneGap Essentials, as well as BlackBerry Development Fundamentals, the first book dedicated to BlackBerry development (both from Addison-Wesley). You can find information about all of John’s publications at johnwargobooks.com. You can also find articles related to mobile development and other topics that interest John at his personal blog at johnwargo.com. He also periodically publishes articles on mobile development tools to his SAP Community Network (SCN) blog at scn.sap.com/blogs/johnwargo.

 

Read More Show Less

Table of Contents

Foreword          x

Preface             xi

Acknowledgments           xiv

 

Chapter 1: The What, How, Why, and More of Apache Cordova         1

Introduction to Apache Cordova    1

What Is Adobe PhoneGap?    7

PhoneGap History    7

Cordova Going Forward  8

Supported Platforms   9

Cordova License    9

Working with Cordova   10

Cordova Plugins    14

Putting Cordova to Best Use  14

Getting Support   15

Resources   16

Hybrid Application Frameworks   18

Wrap-Up   19

 

Chapter 2: Installing the Cordova and PhoneGap Frameworks          20

Installing Apache Cordova   20

Ant-Based Command-Line Interface   25

Installing Adobe PhoneGap   25

Wrap-Up   27

 

Chapter 3: Installing the Cordova Command-Line Interface            28

Installing the CLI   28

Wrap-Up    41

 

Chapter 4: Using the Cordova Command-Line Interface   42

About the CLI    42

Troubleshooting the CLI    43

CLI Command Summary   43

Using the CLI    44

Wrap-Up   58

 

Chapter 5: ANATOMY OF A CORDOVA APPLICATION          59

Hello World!    59

Cordova Initialization    60

Leveraging Cordova APIs   64

Enhancing the User Interface of a Cordova Application    66

The Generated Web Application Files    71

Wrap-Up   75

 

Chapter 6: The Mechanics of Cordova Development    76

Cordova Development Issues   76

Developing Cordova Applications   78

Testing Cordova Applications   82

Leveraging Cordova Debugging Capabilities    84

Testing Applications Using the Ripple Emulator   93

Wrap-Up   95

 

Chapter 7: Android Development with Cordova            96

Working with the Android Development Tools    96

Using the ADT IDE   97

Debugging Outside of the ADT IDE   106

Grabbing a Screenshot   107

Debugging on a Physical Device   108

Wrap-Up   111

 

Chapter 8: Blackberry 10 Development with Cordova            112

Configuring Your Environment for BlackBerry Development   112

Configuring a BlackBerry Cordova Project   114

Defining BlackBerry 10 Targets   116

Debugging on a Device Simulator   120

Debugging on a Physical Device   129

Wrap-Up    129

 

Chapter 9: iOS Development with Cordova           130

Working with Xcode    130

Debugging iOS Applications    131

Debugging on a Physical Device   132

Using the Safari Web Inspector   132

Wrap-Up   138

 

Chapter 10: Windows Phone 8 Development with Cordova            139

Getting Started with Windows Phone Development   139

Configuring a Windows 8 Device for Application Testing   140

Running a Cordova Application Using Visual Studio   142

Wrap-Up   148

 

Chapter 11: Using PhoneGap Build            149

What Is PhoneGap Build?    149

Using PhoneGap Build    152

Wrap-Up    162

 

Chapter 12: Working with the Cordova APIs                163

The Cordova Core APIs   163

Working with the API Cordova Documentation    164

Setting Application Permissions    165

Cordova Objects    168

Alerting the User   170

Cordova Events    175

Hardware APIs   176

Globalization    188

Working with the Contacts Application   193

Playing/Recording Media Files    197

InAppBrowser    199

Splash Screen     205

Wrap-Up    205

 

Chapter 13: Creating Cordova Plugins              206

Anatomy of a Cordova Plugin    206

Creating a Simple Plugin     207

Creating a Native Plugin    211

Deploying Plugins    228

Wrap-Up   228

 

Chapter 14: Building a Cordova Application            229

About the Application   229

Creating the Application    230

Using Merges    239

Testing the Application    240

Wrap-Up   242

 

Chapter 15: Extending Cordova to the Enterprise              243

Mobile Application Development Platforms    243

SAP Mobile Platform    244

Kapsel   246

Wrap-Up    248

 

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)