Provide the ability to override the default behavior of the following buttons: - start call - menu - back - end call - volume up - volume down - convenience buttons (requires fix in WebWorks) In order to use this feature grant the following additional feature in config.xml. If not included then button events are not captured. - blackberry.system.event
If an error occurs during network connection verification on startup fire the connection ready channel so that the deviceready event is still fired.
Provide an implementation matching the current W3C proposal spec for battery status events. The implementation fires events when the battery level changes, charging state changes and when the battery level reaches predefined low and critical values. The spec is located here: - http://dev.w3.org/2009/dap/system-info/battery-status.html
…erride event listeners. This change moves the BlackBerry code inline with Android.
BBWP does not allow underscores in archive names; see here: https://github.com/blackberry/WebWorks/blob/master/packager/src/net/rim/tumbler/CmdLineHandler.java#L70-73
Fix several failures in the MobileSpec Capture API tests due to scoping and initialization issues. - Expose MediaFileData constructor globally. - Initialize type property of ConfigurationData. - Initialize mode property of CaptureImageOptions. - Initialize duration and mode properties of CaptureVideoOptions. - Initialize duration and mode properties of CaptureAudioOptions. - Cleanup style to match other files.
The implementation is currently returning an empty array for the following Contact attributes: phoneNumbers, emails, addresses, organizations, categories, urls and photos. Return null unless the array has a length greater than 0.
…cores between words of error names. Fixes #29
Address several failures reported by MobileSpec test suite for the FileReader and FileWriter API. - Change the encoding of writes with the FileWriter API to use UTF-8 instead of the BlackBerry default of ISO-8859-1 - Truncate the file to the seek position before writing new data in order to match behavior on other platforms. Return the length of the file as the seek position plus data written. - Provide stubs for FileReader.readAsBinaryString and FileReader.readAsArrayBuffer.
Remove deprecated Network.isReachable (use the Network Information API in
Remove minification of phonegap.*.js file.
Add targetWidth, targetHeight and encodingType options to the camera API. If targetWidth or targetHeight is specified or if encodingType is not the default value of JPEG then post process the image taken with the camera to match the specified options. Maintain the pre-existing behavior of the API unless the new options are specified. Please note the following concerns if using the new options. - Requires additional processing time before image is returned (5+ seconds on a torch). - EXIF data from original image is lost so image may no longer automatically orient when displayed. - The quality option is only honored for JPEG output. - Aspect ratio maintained. Return a new image within the boundaries specified by targetWidth / targetHeight but adjust dimensions to maintain aspect ratio.