移動Web應用開發框架 PhoneGap 1.4 發布,引入構建云服務
PhoneGap是一款HTML5平臺,通過它,開發商可以使用HTML、CSS及JavaScript來開發本地移動應用程序。因此,目前開發商可以只 編寫一次應用程序,然后在6個主要的移動平臺和應用程序商店(app store)里進行發布,這些移動平臺和應用程序商店包括:iOS、Android、BlackBerry、webOS、bada以及Symbian。
今天 PhoneGap 宣布了 1.4 版本的發布,該版本除了修復 1.3 中的許多 bug 之外,還引入了 PhoneGap 構建云服務的完全支持。該服務可以在線將開發者在云端的 HTML、JavaScript 和 CSS打包并發布可發布到 App Store、Android Market 以及其他平臺的 app。
下面是關于 PhoneGap 1.4 在各個不同平臺上值得關注的改進內容(what is new in PhoneGap 1.4.0):
Android
- Work-around Feature for Classic PhoneGap 320×480 resolution
- Add compass demo for Android
- IllegalArgumentException if it is not a JPEG nor a PNG
- Adding JUnit dependency
- Fixing issue with FileTransfer.upload when the passed in url contains a ?
- Allow internal SD Card to be used as storage
- Fixing a timing issue with the web view history not being cleared properly
- Making preference reading code more robust
- Using preference=fullscreen for fullscreen view
BlackBerry
- #124: Adding Battery events to the PlayBook.
- #153: Default for camera destination type changed from DATA_URL to FILE_URI.
- #CB-122: native JSON writer class needs expandable char buffer
- Fixing playbook plugin manager
Note: These are not the BlackBerry highlights. That is literally all of the new documentation for BlackBerry in PhoneGap 1.4.0.
iOS
- Added stand-alone PGViewController (Cleaver - PhoneGap as a Component)
- Added 'How to Use PhoneGap as a Component' doc to the .dmg (as a PDF)
- Added for legacy support of deprecated PhoneGapDelegate, in core plugins
- Updated the app icons, splash-screens, and template icons for the Xcode template to Cordova ones
- Added Battery core plugin to PhoneGap.plist
Windows Phone
- Compass API fixes
- Added VERSION file to be like other platforms
- Updated phonegap.js to include XHR updates
- Fix for single document - multipage layouts
- Changed default destination to FILE_URI
- Acceleromter fix #CB-141 - InvariantCulture
PhoneGap 已經日趨完善了,你是否開始考慮使用 PhoneGap 來開發移動app了呢?
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!