PhoneGap new version 1.4.0 now available

PhoneGap team just released next version 1.4.0.  They released with few features and enhancements. Small introduction about PhoneGap, it compiles HTML, Javascript and CSS files and produce build packages for Apple iOS, Andriod, webOS, Symbian, BlackBerry, Bada and Windows Phone. Code once and run any where . Almost, we can use 100% of code for other platform development. Recently they added “PhoneGap Build cloud service“. There will be full support with this new version.

PhoneGap Logo with Windows Phone Android iOS Bada Blackberry

PhoneGap Logo with Windows Phone, Android, iOS, Bada, Blackberry

And here is the list of features and enhancements by OS :-

Andriod :-

  • fixing whitelist handling
  • Added license header to new files.
  • Remove unused files/classes until they are needed.
  • Fixing scale, setting legacy scale
  • Work-around Feature for Classic PhoneGap 320×480 resolution and more

iOS :-

  • Added Battery core plugin to PhoneGap.plist
  • Fixed CB-143 – Removing address from iOS contact causes crash
  • Added ‘PhoneGap Upgrade Guide’ doc to the .dmg (as a PDF)
  • Fixed CB-42 – MediaPlaybackRequiresUserAction can now be set to NO
  • Added stand-alone PGViewController (Cleaver – PhoneGap as a Component)

Windows Phone :-

  • Fix for single document – multipage layouts
  • Added VERSION file to be like other platforms.
  • Acceleromter fix #CB-141 – InvariantCulture
  • Contacts returned from find were not formatted. CB-157
  • Fixes for loading local XHR using file API, and still using default for remote XHR. responseXML returns document for local files.
  • updated phonegap.js to include XHR updates
  • Compass API fixes

We can get more details from here http://phonegap.com/2012/01/31/phonegap-1-4-released/

iOS 5 and HTML5 input types

HTML5 is powerfully web markup language. HTML5 brings more input types  and few special tags like video and audio. Those tags makes our browser plugin free. Using HTML5 video tag we can play videos with out installing flash or silverlight. Mostly all modern browsers supports HTML5 well (IE9 & 10, Firefox, Safari and Chrome). HTML5 is not powerful in PC browser, even we can take advantage of mobile browser also not only mobile browser. We can use in cross platform mobile application which apps developing using PhoneGap framework or some other. Using this HTML5 input type, iOS will automatically changes the keyboard types. For example :- if I use <input type=”email”/> so when we focus on text box it will open a keyboard on screen it will show with option “@” and “.” keys.

We can check more input types with my previous posts listed below

HTML5 inputs and PhoneGap – iPhone and Android

HTML5 inputs and PhoneGap – iPhone and Android 2

in iOS 5, few more input types supports. Please check with below image and note.

iOS 5 HTML5 INPUT TYPESNow iOS5, It supports

type=”date”, type=”month”, type=”datetime”, type=”datetime-local”, type=”time” and type=”range”

When add a form input tag with type=”date” attribute, <input type=”date” name=”user_date”/> it will automatically show date picker.

datetime: Defines date field (with calendar and time controls) with year, month, day, hour, minute (UTC)

datetime-local: Defines date field (with calendar and time controls) with year, month, day, hour, minute (local timezone)

HTML5 inputs and PhoneGap – iPhone and Android 2

In previous post we seen few HTML5 input type (Text, Email, URL and Number  ) and iOS keyboard type when we focus on the input.

Check with few more keyboard type in iOS and Android in this post : HTML5 inputs and PhoneGap – iPhone and Android

now <input type=”tel” name=”txtPhone”/>

input type tel

and finally, when I try with type=”range”. it is also working fine in iOS. for example

<input type=”range” name=”points” min=”1″ max=”10″ /> by default it is that input value set to 6 and when I try to enter alphabets and done.. it is removing that alphabets and set that value to 10. Even when I enter more the max number for example 12 it is reset to 10.

input typew rangeAndroid 2.2 and later versions support HTML5 input type number and tel

Android HTML5 input type number and telin this above screenshot show android keyboard type when we set type to number or tel. like this

<input type=”number” /> –Left

<input type=”tel” /> — Right

Check with few more keyboard type in iOS and Android in this post : HTML5 inputs and PhoneGap – iPhone and Android

Windows Phone also will support HTML5 input type and it will automatically changes keyboard layout. I am unable to add screenshot windows phone 7.5 mango for now. Because I am having problem with WDDM version.

HTML5 input types more details here http://www.w3schools.com/html5/html5_form_input_types.asp

Follow

Get every new post delivered to your Inbox.

Join 109 other followers