Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

PhoneGap 2.4.0 Released

DZone's Guide to

PhoneGap 2.4.0 Released

· Web Dev Zone
Free Resource

Add user login and MFA to your next project in minutes. Create a free Okta developer account, drop in one of our SDKs to your application and get back to building.

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.

Launch your application faster with Okta’s user management API. Register today for the free forever developer edition!

Topics:

Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}