基于HTML5的跨平台移动应用开发框架,PhoneGap 1.7 发布
jopen 12年前
<p><a href="/misc/goto?guid=4958199139955699999" target="_blank">PhoneGap</a>是一款HTML5平台,通过它,开发商可以使用HTML、CSS及JavaScript来开发本地移动应用程序。因此,目前开发商 可以只 编写一次应用程序,然后在6个主要的移动平台和应用程序商店(app store)里进行发布,这些移动平台和应用程序商店包括:iOS、Android、BlackBerry、webOS、bada以及Symbian。</p> <p><img style="width:564px;height:377px;" alt="PhoneGap 1.7 发布" src="https://simg.open-open.com/show/d87718371ccd5c8d273979601cbe6f81.png" /></p> <p><br /> 该版本重点修复了一些Bug,同时添加了对Bada 2.0的支持!</p> <h2>iOS</h2> <ul> <li>Fixed CB-183, CB-54 – ios camera targetWidth/Height don’t match the documentation Fixes CB-183 and CB-54 </li> <li>Fixed CB-511 Changed deviceproperties version to “cordova” property </li> <li>Fixed CB-483 – FileTransfer – unknown property attribute ‘atomic’ when building from source (Xcode 3 only) </li> <li>Fixed CB-507 – Remove excessive debug logging in execute delegate method in CDVViewController </li> <li>Implemented CB-536 – Add new selector to CDVViewController to create a new CDVCordovaView, so subclasses can override it </li> <li>Workaround for CB-509 – geolocation.clearWatch doesn’t shut the GPS down under iOS Fixed CB-537 – media.seekTo fails with NSRangeException </li> <li>Fixed CB-544 – iOS Geolocation fails if Cordova.plist EnableLocation = YES </li> <li>Fixed CB-543 – FileTransfer.upload WebKit discarded an uncaught exception </li> <li>Fixed CB-391 – camera.getPicture crash </li> <li>Implemented CB-535 – Add a way to log JavaScript exceptions, parse errors, and get JS stack frame events (with line numbers, etc) </li> <li>Fixed CB-494 – Move Cordova.plist section from “How to use Cordova as a Component Guide” to its own doc </li> <li>Fixed CB-571 – stubbed out create method to remove error when creating Media objects, also added another check if file does not exist. </li> <li>Fixed CB-386 – added retina iPad splash screens. made sure retina ipad icon files shows up during load. </li> <li>Re-fix CB-347 – localStorage / SQLDatabase Error after App update (timing issue for applying fix) </li> <li>Adjust splash screen position based on orientation and status bar size </li> </ul> <h2>Android</h2> <ul> <li>[CB-164] Changed network plugin to sync from async and removed setKeepCallback(true) on plugin result in there. Fixes location.reload() not firing deviceready due to network plugin being unresponsive </li> <li>Proper fix for CB-164. Online/offline events now propagated to webview properly </li> <li>[CB-473] run ant clean before ant debug install </li> <li>CB-480 work, back button and history issues are preventing this from being tested properly </li> <li>Fixed back button behaviour. WIN </li> <li>Reverting the back button change that I made, for some reason certain methods aren’t inherited when you extend DroidGap </li> <li>Fix for CB-549 </li> <li>Updating the JS and re-tagging 1.7.0 </li> <li>CB-539: FileTransfer.download fails when target starts with ‘file://’ </li> <li>Removing un-needed logs </li> <li>Refactor Android SplashScreen </li> <li>Adding SplashScreen plugin to plugins.xml </li> </ul> <h2>Windows</h2> <ul> <li>added issue with regards to debugging media functionality in the framework to the README </li> <li>Updating various script files to latest </li> <li>added hint to debug output when device ready cannot fire because the dev did not include the tag in their page. </li> <li>release was private, and therefore uncallable from js </li> <li>changed test project to use updated tests + jasmine </li> <li>remove method added, dispatches not supported error </li> <li>debug output for exception in ProcessCommand </li> <li>remove unused </li> <li>added mouse support </li> <li>fancy animation on load, ala metro style </li> <li>splash image is animated away on load </li> <li>update JS from cordova-js, update version file </li> <li>rebuild of lib + template gen </li> <li>Added notification alert/confirm button text. CB-110 </li> <li>remove version number from readme instructions so we don’t have to change it every time. </li> <li>remove old build cruft </li> <li>rejigger, packaged zip is rc1 but assets are 1.7.0 </li> <li>updates 1.7.0.js file with latest changes, remove rc version </li> <li>fetch meta viewport on page load </li> <li>CB-596 </li> <li>wip for handling both meta + preventDefault </li> <li>metaviewport tag content attribute user-scalable yes|no is observed. </li> <li>added tagged 1.7.0 js src, alert patch in template with comment </li> <li>1.7.0 release packaging </li> <li>remove old template </li> <li>update example to 1.7.0 </li> <li>filetransfer download returns FileEntry on success </li> <li>repackage for 1.7.0 </li> <li>updated test project for jasmine tests </li> <li>update template for 1.7.0 </li> <li>Fixed filetransfer boundary without parameter. </li> <li>[CB-559] Cache instantiated plugins in CommandFactory </li> <li>[CB-338] fixing firing online and offline events </li> <li>[CB-336] getFormatData did not return due to threading issues in Capture.cs </li> <li>[CB-334] Nickname was not being returned properly in contacts.search </li> </ul> <h2>Bada</h2> <ul> <li>added Bada 2.0 support </li> </ul>