移动Web应用开发框架 PhoneGap 1.4 发布,引入构建云服务
jopen 13年前
<p>PhoneGap是一款HTML5平台,通过它,开发商可以使用HTML、CSS及JavaScript来开发本地移动应用程序。因此,目前开发商可以只 编写一次应用程序,然后在6个主要的移动平台和应用程序商店(app store)里进行发布,这些移动平台和应用程序商店包括:iOS、Android、BlackBerry、webOS、bada以及Symbian。<br /> <br /> 今天 PhoneGap 宣布了 1.4 版本的发布,该版本除了修复 1.3 中的许多 bug 之外,还引入了 PhoneGap 构建云服务的完全支持。该服务可以在线将开发者在云端的 HTML、JavaScript 和 CSS打包并发布可发布到 App Store、Android Market 以及其他平台的 app。</p> <p><img alt="PhoneGap 1.4 发布,引入构建云服务" src="https://simg.open-open.com/show/0315538437f05ab345b801fb5a61bd6b.jpg" width="519" height="175" /></p> <p>下面是关于 PhoneGap 1.4 在各个不同平台上值得关注的改进内容(<a href="/misc/goto?guid=4958327337674376123">what is new in PhoneGap 1.4.0</a>):</p> <h2>Android</h2> <ul> <li>Work-around Feature for Classic PhoneGap 320×480 resolution</li> <li>Add compass demo for Android</li> <li>IllegalArgumentException if it is not a JPEG nor a PNG</li> <li>Adding JUnit dependency</li> <li>Fixing issue with FileTransfer.upload when the passed in url contains a ?</li> <li>Allow internal SD Card to be used as storage</li> <li>Fixing a timing issue with the web view history not being cleared properly</li> <li>Making preference reading code more robust</li> <li>Using preference=fullscreen for fullscreen view</li> </ul> <h2>BlackBerry</h2> <ul> <li>#124: Adding Battery events to the PlayBook.</li> <li>#153: Default for camera destination type changed from DATA_URL to FILE_URI.</li> <li>#CB-122: native JSON writer class needs expandable char buffer</li> <li>Fixing playbook plugin manager</li> </ul> <p><em>Note: These are not the BlackBerry highlights. That is literally all of the new documentation for BlackBerry in PhoneGap 1.4.0.</em></p> <h2>iOS</h2> <ul> <li>Added stand-alone PGViewController (Cleaver - PhoneGap as a Component)</li> <li>Added 'How to Use PhoneGap as a Component' doc to the .dmg (as a PDF)</li> <li>Added for legacy support of deprecated PhoneGapDelegate, in core plugins</li> <li>Updated the app icons, splash-screens, and template icons for the Xcode template to Cordova ones</li> <li>Added Battery core plugin to PhoneGap.plist</li> </ul> <h2>Windows Phone</h2> <ul> <li>Compass API fixes</li> <li>Added VERSION file to be like other platforms</li> <li>Updated phonegap.js to include XHR updates</li> <li>Fix for single document - multipage layouts</li> <li>Changed default destination to FILE_URI</li> <li>Acceleromter fix #CB-141 - InvariantCulture</li> </ul> <p>PhoneGap 已经日趋完善了,你是否开始考虑使用 PhoneGap 来开发移动app了呢?</p>