Beginning PhoneGap
Publisher: Wiley / Wrox
Final Release Date: November 2011
Pages: 312

Now web developers can create cross-platform mobile apps in a language they already know

Are you a web developer eager to move into the mobile space, but don't have the time to learn a new language? Then PhoneGap is what you've been waiting for. PhoneGap is a free and open source framework that allows you to create cross-platform applications using HTML, CSS, and JavaScript. Beginning PhoneGap shows you how to make it happen. After a brief review on installing and configuring PhoneGap, you quickly dive into using PhoneGap to build iOS, Android, and Blackberry applications. Each chapter provides an in-depth view of different components, and lets you master each through exercises before moving on to the next piece. By the end of the book, you'll be ready to create your own mobile applications.

Beginning PhoneGap:

  • Walks you through the entire process of creating a PhoneGap application, including contacts, the camera, media files, storage options, and more

  • Demonstrates how to install and configure PhoneGap for iOS, Android, BlackBerry, webOS, and Symbian

  • Reviews event objects and event types

  • Shares techniques for working with the network, the device, and notifications

  • Provides essential guidance on mastering the filesystem, web databases, and storage

  • Encourages you to make the most of Geolocation, Compass, and Accelerometer

  • Includes an array of exercises throughout the book where you can apply what you just learned

Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.

wrox.com

Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyBeginning PhoneGap
 
3.3

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (1)

67%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (3)

Cons

    Best Uses

        • Reviewer Profile:
        • Developer (3)

      Reviewed by 3 customers

      Sort by

      Displaying reviews 1-3

      Back to top

      (1 of 1 customers found this review helpful)

       
      1.0

      Title says "Beginning…" yes, but even so

      By Zalakain

      from Iruña, Navarra

      About Me Designer, Developer

      Verified Reviewer

      Pros

      • Easy to understand

      Cons

      • Not comprehensive enough
      • Poor examples
      • Too many errors

      Best Uses

      • Novice

      Comments about oreilly Beginning PhoneGap:

      Basic approach to what can be achieved with Phonegap, a Java-iOS/Javascript framework devoted to make HTML5 Apps creation a breeze (well, almost).
      Ok, based
      However, very weak IMHO.

      The PhoneGap for Android setup is poorly covered.

      The examples on events are very much the same repeated "n" times with some minor changes, not big differences between them...

      The exercises on page 100 are a good point on the book's side. +1 here.

      Many typos here and there, incomplete code (some missing calls), calls to wrongly named functions,…

      Missing or weak examples, for instance what could the magnetometer be used for? Or more info about FileTransfer, something that most developers will use one time or another...

      Using "Final App listing" nowadays just seems like filling stuff, they don't give any value since you can download the code from the book's site (IMHO).
      Furthermore with the complete Phonegap.js listing… what for?
      Wouldn't it had been much more interesting to show a complete App creation process with PhoneGap? Basic implementation, event management, device capabilities, notifications… a 360% approach, much more valuable than a mere "show and tell" list of examples.

      (1 of 1 customers found this review helpful)

       
      4.0

      Beginning PhoneGap

      By dancerjude

      from Aprilia LT, Italy

      About Me Developer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly Beginning PhoneGap:

        If you are oriented to develop apps for mobile devices, and your intention is to write code once for different platforms, you should take a look at PhoneGap framework.

        This book can you help you to understand what PhoneGap is and what can do to help you achieve your projects.

        ​It is a reference book, to correctly understand APIs available in this framework and to show how you can simply create an app using web development paradigm and then deploy to different mobile platform such as iOs, Android, Windows Phone and so on.

        But be careful, because this is not a magic wand. Platforms are different and even if developers and the communities are contributing to develop this framework, some differences persists between this mobile worlds, and so there are a lot of compromises you could accept to develop using PhoneGap.

        It is anyway a great idea, and maybe in the near future, a more mature version will allow full capabilities on all devices.

        This book was written when PhoneGap 1.0 was release. At this moment the last version is 1.4.1, so changes are in progrress and maybe something in this guide could be no more actual. But it covers all most significant APIs and explain with examples every single capability, so I can affirm that is a good deal to have this book to read it before, and to put it on your desk to use as a reference guide after.

        (1 of 1 customers found this review helpful)

         
        5.0

        PhoneGap quickly

        By sandyboy55

        from St Louis, MO

        About Me Designer, Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

        • Not for advanced users

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about oreilly Beginning PhoneGap:

        There are two times PhoneGap made big waves in the mobile developer community. The first time was when the first PhoneGap code was authored at the San Francisco iPhoneDevCamp in August 2008. The second time was at the Adobe MAX in October 2011 when Adobe announced that it had bought Nitobi, the maker of PhoneGap. PhoneGap is an amazing technology that lets you unleash mobile applications to 7 platforms using the same code base. It makes the "write once, deploy anywhere" aspiration come true. Beginning PhoneGap by Thomas Myer is an excellent book to get started with PhoneGap.

        This book is targetted for anyone with an intermediate knowledge of HTML, CSS, and JavaScript that is looking to develop mobile applications quickly using PhoneGap. Step-by-Step the author explain using PhoneGap to develop applications for the 3 major platforms - iOS, Android, and Blackberry, with an honorable mention of the other platforms like Symbian and WebOS. The first three chapters are devoted to learning the basics of setting up PhoneGap on your machine. From chapter 4 through chapter 14, the author dives straight into the PhoneGap API with Events, Network and Notifications, Accelerometer, Compass, Geolocation, Media, Camera, Storage, Files, Contacts, and Capture. Each chapter introduces the topic, provides sample codes to try out, then explains clearly what the code does. The last chapter contains information on how to design and build an app from scratch using the Capture, Geolocation, Storage, and Files API.

        There is very little fluff and lots of useful and to-the-point stuff. I finished reading the first five chapters in less than an hour. I was able to finish the rest of the book over the weekend. The author has provided lots of screenshots and sample code to make it easy to learn. Buy this book and make your PhoneGap foundation strong. I strongly believe PhoneGap has a promising future and this book is the first step to lead you there.

        Displaying reviews 1-3

        Back to top

         
        Buy 2 Get 1 Free Free Shipping Guarantee
        Buying Options
        Immediate Access - Go Digital what's this?
        Ebook: $34.99
        Formats:  ePub, Mobi, PDF