PhoneGap Essentials: Building Cross-platform Mobile Apps (häftad)
Format
Häftad (Paperback)
Språk
Engelska
Antal sidor
384
Utgivningsdatum
2012-06-27
Upplaga
1
Förlag
ADDISON-WESLEY
Illustrationer
illustrations
Dimensioner
231 x 175 x 23 mm
Vikt
613 g
Antal komponenter
1
ISBN
9780321814296

PhoneGap Essentials: Building Cross-platform Mobile Apps

Häftad,  Engelska, 2012-06-27

Slutsåld

PhoneGap is Adobes distribution of the free and open source framework (originally developed by Nitobi) that is now also available from the Apache Foundation as Apache Cordova. Using PhoneGap, developers can build native mobile apps using standard HTML5, JavaScript, and CSS, and then deploy those apps to every leading mobile platform with little or no recoding. Up to now, though, PhoneGap was lacking complete, practical documentation. PhoneGap Essentials fills that void: Its the first concise, yet complete, tutorial for succeeding with PhoneGap in real-world development.

Experienced mobile developer John M. Wargo thoroughly introduces the PhoneGap platform, explaining what it is, what it does, and how it works. He then guides you through configuring PhoneGap environmentscreating complete mobile appsand building them for the Google Android, Samsung bada, BlackBerry devices, Apple iOS, Symbian OS, and Windows Phone. Through realistic examples, youll master key PhoneGap APIs for everything from GPS to the file system, contacts to camera, device to events, and more. Wargo also demonstrates how to take full advantage of PhoneGap Build, PhoneGaps cloud-based packaging utility.

Coverage includes
  • The anatomy of a PhoneGap application (what makes an application a PhoneGap application)
  • Understanding the impact of cross-platform development issues
  • Exploring the entire PhoneGap development process, including testing and debugging
  • Expanding PhoneGaps capabilities with third-party development tools and plug-ins
  • Building cross-platform apps that use the device camera, compass, accelerometer, and other hardware
  • Reading from and writing to the contacts database and the device file system
  • Installing tools needed to develop PhoneGap apps for Android, bada, BlackBerry, iOS, Symbian, and Windows Phone
  • Reacting to events and notifying users
  • Using the Media API to record and play media files
  • Building for multiple platforms simultaneously using PhoneGap Build
About the Website

Downloadable code projects, additional information, and errata are available at phonegapessentials.com .
Visa hela texten

Kundrecensioner

Har du läst boken? Sätt ditt betyg »

Fler böcker av John M Wargo

  • Apache Cordova 4 Programming

    John M Wargo

    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 ...

  • Learning Progressive Web Apps

    John M Wargo

    Build reliable, fast, and engaging apps that deliver superb user experiences on any platform - without the development overhead of native apps! Use JavaScript and modern Web APIs to build apps that are responsive, secure, self-updating, searc...

Övrig information

John M. Wargo has more than 20 years of experience designing and developing enterprise applications with a focus on collaboration and process automation. John has spent the last five years focusing on mobile development having worked for Research In Motion and authored BlackBerry Development Fundamentals (www.bbdevfundamentals.com) and a series of articles on mobile development for The View (www.eview.com). He is a frequent speaker at industry conferences, delivering sessions on mobile development and analysis of mobile industry trends. In his current role, he is a practice manager in AT&T's Advanced Mobile Applications Practice, specializing in mobile application platforms & frameworks and helping customers realize their mobile initiatives.

Innehållsförteckning

Foreword by Bryce A. Curtis xiii

Foreword by Jim Huempfner xv

Preface xvii

Acknowledgments xxiii

About the Author xxiv

 

Part I: PhoneGap 1

 

Chapter 1: Introduction to PhoneGap 3

A Little PhoneGap History 4

Why Use PhoneGap? 5

How PhoneGap Works 6

Designing for the Container 11

Writing PhoneGap Applications 13

Building PhoneGap Applications 13

PhoneGap Limitations 17

PhoneGap Plug-Ins 18

Getting Support for PhoneGap 19

PhoneGap Resources 19

Hybrid Application Frameworks 19

 

Chapter 2: PhoneGap Development, Testing, and Debugging 23

Hello, World! 23

PhoneGap Initialization 25

Leveraging PhoneGap APIs 28

Enhancing the User Interface of a PhoneGap Application 30

Testing and Debugging PhoneGap Applications 35

Dealing with Cross-Platform Development Issues 49

 

Part II: PhoneGap Developer Tools 55

 

Chapter 3: Configuring an Android Development Environment for PhoneGap 57

Installing the Android SDK 58

Eclipse Development Environment Configuration 64

Creating an Android PhoneGap Project 66

Testing Android PhoneGap Applications 77

 

Chapter 4: Configuring a bada Development Environment for PhoneGap 79

Downloading and Installing the Correct PhoneGap bada Files 80

Creating a bada PhoneGap Project 82

Creating a bada Application Profile 86

Testing bada PhoneGap Applications 95

 

Chapter 5: Configuring a BlackBerry Development Environment for PhoneGap 97

Installing the BlackBerry WebWorks SDK 98

Creating a BlackBerry PhoneGap Project 99

Building BlackBerry PhoneGap Applications 103

Testing BlackBerry PhoneGap Applications 109

 

Chapter 6: Configuring an iOS Develop...