HTML5 Zone is brought to you in partnership with:

Raymond Camden is a developer evangelist for Adobe. His work focuses on web standards, mobile development and Cold Fusion. He's a published author and presents at conferences and user groups on a variety of topics. He is the happily married proud father of three kids and is somewhat of a Star Wars nut. Raymond can be reached via his blog at www.raymondcamden.com or via email at raymondcamden@gmail.com Raymond is a DZone MVB and is not an employee of DZone and has posted 239 posts at DZone. You can read more from them at their website. View Full User Profile

PhoneGap 2.4.0 Released

02.11.2013
| 1844 views |
  • submit to reddit

The title pretty much says it all. PhoneGap 2.4.0 was released today. You can read the official blog entry on it here: PhoneGap 2.4.0 Released.

The blog entry only makes mention of the Cordova CLI tools being rolled in. These tools make PhoneGap incredibly easy to use. Holly Schinsky blogged about them a few months ago. They kind of act like a "meta" tool for the core PhoneGap command line tools. You can quickly generate projects for multiple operating systems as well as quickly build and deploy them to testing devices. If you haven't checked out these tools yet, please give them a shot. You can find the official docs for them here.

The changelist for 2.4.0 may be found here and has a few interesting tidbits. Hopefully we will see further details in the future. Right now these in particular interest me:

Android
7530c21 Full binary data support.
a120614 Initial input type=file support

If "full binary data support" implies we can use binary data from JavaScript (by the way, you know modern desktop browsers support that, right?) it will mean some APIs I've had trouble with in the past should start working again. In particular, you can't push files to Parse.com because of this. (There is a workaround though where you can push to S3 and simply have Parse use a S3 URL for the property.)

If I can dig up more on this, I'll let yall know.

Another new feature (that isn't documented yet) is the ability to use slices in file reading. This means you can read a portion of a file as opposed to the entire thing.

Published at DZone with permission of Raymond Camden, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)