Buy Apache Cordova 4 Programming by John Wargo at Bookstore UAE
close menu
Bookswagon
search
My Account
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology Books > Computer programming / software engineering > Apps programming > Apache Cordova 4 Programming
Apache Cordova 4 Programming

Apache Cordova 4 Programming


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Using Apache Cordova 4, you can leverage native technologies and web standards to quickly build cross-platform apps for most mobile devices. You can deliver a high-end user experience where it matters, while radically simplifying code maintenance and reuse. Apache Cordova 4 Programming is the most concise, accessible introduction to this remarkable technology.

 

In this essential guide, expert mobile developer John Wargo quickly gets you up to speed with all the essentials, from installation, configuration, and tools, to building plugins and using Cordova’s powerful APIs. Wargo helps you make the most of Cordova 4’s major enhancements, while offering practical guidance for all versions, including Adobe PhoneGap. Full chapters are dedicated to five major mobile platforms: Android, iOS, Windows Phone, Firefox OS, and Ubuntu.

 

Using rich, relevant examples, Wargo guides you through both the anatomy of a Cordova app and its entire lifecycle, including cross-platform testing and debugging. Throughout, he illuminates Cordova development best practices, streamlining your development process and helping you write high-quality apps right from the start.

 

Topics include

  • Installing and configuring Cordova’s development environment
  • Working with the Cordova command line interfaces
  • Creating Cordova plugins, using Plugman and the PhoneGap CLI
  • Cordova’s support for Firefox OS and Ubuntu devices
  • Automation (Grunt and Gulp) and Cordova CLI hooks
  • Microsoft’s hybrid toolkit for Visual Studio
  • Third-party tools, such as AppGyver, GapDebug, THyM, and more
  • Beautifying Cordova apps with third-party HTML frameworks, such as Bootstrap, OpenUI5, Ionic, and Onsen UI
  • Running, testing, and debugging Cordova apps on each major mobile platform 

Access the full code examples at cordova4programming.com, where you’ll also find updates reflecting Cordova’s continuing evolution.

 

This book is an ideal companion to Wargo’s authoritative collection of Apache Cordova code recipes for each Cordova API, Apache Cordova API Cookbook (Addison-Wesley, 2015).



Table of Contents:

Foreword xiii

Preface xv

Acknowledgments xxi

About the Author xxiii

 

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

An Introduction to Apache Cordova 1

What Is Adobe PhoneGap? 3

A Little PhoneGap/Cordova History 4

Cordova Components 4

Access to Native APIs 5

Cordova User Interface Capabilities 10

Supported Platforms 12

Cordova License 13

Working with Cordova 13

Putting Cordova to Best Use 18

Getting Support 20

Resources 20

Cordova Going Forward 23

Hybrid Application Frameworks 25

Wrap-Up 25

 

Chapter 2: Anatomy of a Cordova Application 27

Hello World! 27

Cordova Initialization 29

Leveraging Cordova APIs 35

Structuring Your Application’s Code 38

The Generated Web Application Files 41

Responsive Design and Cordova 45

Wrap-Up 50

 

Chapter 3: Configuring a Cordova Development Environment 51

Installing the Cordova CLI 51

Installing Plugman 69

Wrap-Up 70

 

Chapter 4: Using the Cordova Command-Line Interfaces 71

Troubleshooting 72

The Cordova CLI 75

The Plugman CLI 104

Wrap-Up 120

 

Chapter 5: The Mechanics of Cordova Development 121

Cordova Development Issues 121

Developing Cordova Applications 124

Configuring a Cordova Application 131

Testing Cordova Applications 134

Leveraging Cordova Debugging Capabilities 135

Debugging and Testing Using External Tools 139

Wrap-Up 156

 

Chapter 6: Automation and the Cordova CLI 157

Automating the Project Setup Step 157

Automating the Cordova Process 164

Wrap-Up 167

 

Chapter 7: Android Development with Cordova 169

Using the Android Developer Tools 170

Monitoring Application Activity Outside of the ADT IDE 191

Testing on a Physical Device 192

Using the Chrome Debugging Tools 195

Wrap-Up 202

 

Chapter 8: Firefox OS Development with Cordova 203

Firefox OS Developer Tools 203

Debugging with the Firefox OS Simulator 207

Debugging Applications on a Firefox OS Device 218

Wrap-Up 220

 

Chapter 9: iOS Development with Cordova 221

Working with Xcode 221

Testing Cordova Applications in Xcode 225

Using the Safari Web Inspector 227

Wrap-Up 233

 

Chapter 10: Ubuntu Development with Cordova 235

Installing the Cordova CLI on Ubuntu 235

Debugging Ubuntu Applications 237

Wrap-Up 243

 

Chapter 11: Windows Development with Cordova 245

Windows versus WP8 Projects and Cordova 245

Windows Phone Limitations and Security Restrictions 247

Windows Development System Requirements 249

Windows Phone Development Tools 250

Windows App Store Setup 251

Configuring a Windows Phone Device for Application Testing 251

Cordova Development Workflow Using Visual Studio 254

Using Visual Studio Tools for Apache Cordova 265

Wrap-Up 281

 

Chapter 12: Using PhoneGap Build 283

What Is PhoneGap Build? 283

Using PhoneGap Build 286

Wrap-Up 306

 

Chapter 13: Using the PhoneGap CLI 307

Getting Help 308

Project Management 309

Anatomy of the Default PhoneGap Application 310

PhoneGap CLI Workflow Differences 312

Interacting with the PhoneGap Build Service 312

Wrap-Up 315

 

Chapter 14: Working with the Cordova APIs 317

The Cordova Core APIs 317

Working with the Cordova API Documentation 319

Checking API Availability 320

Catching Errors 321

Setting Application Permissions 322

Cordova Objects 324

Alerting the User 326

Cordova Events 332

Hardware APIs 334

Globalization 347

Working with the Contacts Application 352

Playing/Recording Media Files 358

InAppBrowser 359

Splashscreen 367

StatusBar 367

Wrap-Up 371

 

Chapter 15: Cordova Development End to End 373

About the Application 373

Creating the Application 374

Using Merges 385

Application Icons 387

Testing the Application 389

Wrap-Up 396

 

Chapter 16: Creating Cordova Plugins 397

Anatomy of a Cordova Plugin 397

Creating a JavaScript-Only Plugin 398

Creating a Cordova Native Plugin 408

Publishing Plugins 431

Wrap-Up 435

 

Chapter 17: Using Third-Party UI Frameworks with Cordova 437

Adobe Topcoat 439

jQuery Mobile 444

Bootstrap 450

SAP OpenUI5 456

Ionic Framework 459

Onsen UI 464

Wrap-Up 468

 

Chapter 18: Using Third-Party Tools with Cordova 469

Code Validation Tools 469

Code Editors 473

Developer Productivity Enhancement Tools 485

Build Tools 494

Wrap-Up 503

 

Index 505



About the Author :

John M. Wargo has more than twenty years of experience designing and developing enterprise applications. For the past eight years, he has focused on mobile development and mobile development tools. His books include Apache Cordova API Cookbook, Apache Cordova 3 Programming, PhoneGap Essentials, and Blackberry Development Fundamentals (all from Addison-Wesley). Wargo is a Product Manager at SAP, focusing on the SAP Mobile Platform. His responsibilities include the Kapsel SDK; SAP’s suite of Apache Cordova enterprise plugins; and the SAP Fiori Client, a Cordova app for Android, iOS, and, soon, Microsoft Windows.


Best Sellers


Product Details
  • ISBN-13: 9780134048260
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Weight: 1 gr
  • ISBN-10: 0134048261
  • Publisher Date: 26 Mar 2015
  • Binding: Digital download
  • No of Pages: 560


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Apache Cordova 4 Programming
Pearson Education (US) -
Apache Cordova 4 Programming
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Apache Cordova 4 Programming

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!