Permalink
Browse files

Initial Version.

  • Loading branch information...
0 parents commit c82a2afc4887c15a5c743d54d531c89133ff412b @deedubbu committed Apr 18, 2012
Showing with 23,345 additions and 0 deletions.
  1. +26 −0 .gitignore
  2. +106 −0 README.md
  3. +14 −0 ext/cordova.accelerometer/js/common/Acceleration.js
  4. +102 −0 ext/cordova.accelerometer/js/common/accelerometer.js
  5. +21 −0 ext/cordova.accelerometer/library.xml
  6. +231 −0 ext/cordova.accelerometer/org/apache/cordova/accelerometer/Accelerometer.java
  7. +58 −0 ext/cordova.app/js/blackberry/app.js
  8. +57 −0 ext/cordova.app/js/blackberry/appInit.js
  9. +21 −0 ext/cordova.app/library.xml
  10. +154 −0 ext/cordova.app/org/apache/cordova/app/App.java
  11. +94 −0 ext/cordova.battery/js/common/battery.js
  12. +20 −0 ext/cordova.battery/library.xml
  13. +216 −0 ext/cordova.battery/org/apache/cordova/battery/Battery.java
  14. +117 −0 ext/cordova.camera/js/common/Camera.js
  15. +26 −0 ext/cordova.camera/js/common/CameraConstants.js
  16. +21 −0 ext/cordova.camera/library.xml
  17. +436 −0 ext/cordova.camera/org/apache/cordova/camera/Camera.java
  18. +170 −0 ext/cordova.camera/org/apache/cordova/camera/CameraOptions.java
  19. +107 −0 ext/cordova.camera/org/apache/cordova/camera/PhotoListener.java
  20. +19 −0 ext/cordova.capture/js/common/CaptureAudioOptions.js
  21. +25 −0 ext/cordova.capture/js/common/CaptureError.js
  22. +18 −0 ext/cordova.capture/js/common/CaptureImageOptions.js
  23. +20 −0 ext/cordova.capture/js/common/CaptureVideoOptions.js
  24. +22 −0 ext/cordova.capture/js/common/ConfigurationData.js
  25. +63 −0 ext/cordova.capture/js/common/MediaFile.js
  26. +25 −0 ext/cordova.capture/js/common/MediaFileData.js
  27. +79 −0 ext/cordova.capture/js/common/capture.js
  28. +27 −0 ext/cordova.capture/library.xml
  29. +80 −0 ext/cordova.capture/org/apache/cordova/media/AudioCaptureListener.java
  30. +133 −0 ext/cordova.capture/org/apache/cordova/media/AudioCaptureOperation.java
  31. +75 −0 ext/cordova.capture/org/apache/cordova/media/AudioControl.java
  32. +87 −0 ext/cordova.capture/org/apache/cordova/media/CameraControl.java
  33. +169 −0 ext/cordova.capture/org/apache/cordova/media/CaptureControl.java
  34. +87 −0 ext/cordova.capture/org/apache/cordova/media/CaptureMode.java
  35. +202 −0 ext/cordova.capture/org/apache/cordova/media/CaptureOperation.java
  36. +84 −0 ext/cordova.capture/org/apache/cordova/media/ImageCaptureListener.java
  37. +161 −0 ext/cordova.capture/org/apache/cordova/media/ImageCaptureOperation.java
  38. +514 −0 ext/cordova.capture/org/apache/cordova/media/MediaCapture.java
  39. +44 −0 ext/cordova.capture/org/apache/cordova/media/MediaQueue.java
  40. +104 −0 ext/cordova.capture/org/apache/cordova/media/VideoCaptureListener.java
  41. +124 −0 ext/cordova.capture/org/apache/cordova/media/VideoCaptureOperation.java
  42. +393 −0 ext/cordova.contact/js/blackberry/BBContact.js
  43. +358 −0 ext/cordova.contact/js/blackberry/BBContactUtils.js
  44. +69 −0 ext/cordova.contact/js/blackberry/BBcontacts.js
  45. +184 −0 ext/cordova.contact/js/common/Contact.js
  46. +32 −0 ext/cordova.contact/js/common/ContactAddress.js
  47. +28 −0 ext/cordova.contact/js/common/ContactError.js
  48. +23 −0 ext/cordova.contact/js/common/ContactField.js
  49. +20 −0 ext/cordova.contact/js/common/ContactFindOptions.js
  50. +27 −0 ext/cordova.contact/js/common/ContactName.js
  51. +30 −0 ext/cordova.contact/js/common/ContactOrganization.js
  52. +64 −0 ext/cordova.contact/js/common/contacts.js
  53. +30 −0 ext/cordova.contact/library.xml
  54. +439 −0 ext/cordova.contact/org/apache/cordova/pim/Contact.java
  55. +64 −0 ext/cordova.core/js/blackberry/exec.js
  56. +92 −0 ext/cordova.core/js/blackberry/manager.js
  57. +101 −0 ext/cordova.core/js/blackberry/platform.js
  58. +819 −0 ext/cordova.core/js/common/cordova.js
  59. +19 −0 ext/cordova.core/js/webworks/manager.js
  60. +24 −0 ext/cordova.core/library.xml
  61. +42 −0 ext/cordova.core/org/apache/cordova/core/CordovaCore.java
  62. +31 −0 ext/cordova.device/js/blackberry/device.js
  63. +20 −0 ext/cordova.device/library.xml
  64. +75 −0 ext/cordova.device/org/apache/cordova/device/Device.java
  65. +246 −0 ext/cordova.file/js/blackberry/BBDirectoryEntry.js
  66. +94 −0 ext/cordova.file/js/blackberry/BBEntry.js
  67. +2 −0 ext/cordova.file/js/blackberry/BBFile.js
  68. +87 −0 ext/cordova.file/js/common/DirectoryEntry.js
  69. +48 −0 ext/cordova.file/js/common/DirectoryReader.js
  70. +210 −0 ext/cordova.file/js/common/Entry.js
  71. +25 −0 ext/cordova.file/js/common/File.js
  72. +70 −0 ext/cordova.file/js/common/FileEntry.js
  73. +32 −0 ext/cordova.file/js/common/FileError.js
  74. +256 −0 ext/cordova.file/js/common/FileReader.js
  75. +24 −0 ext/cordova.file/js/common/FileSystem.js
  76. +260 −0 ext/cordova.file/js/common/FileWriter.js
  77. +22 −0 ext/cordova.file/js/common/Flags.js
  78. +20 −0 ext/cordova.file/js/common/LocalFileSystem.js
  79. +17 −0 ext/cordova.file/js/common/Metadata.js
  80. +53 −0 ext/cordova.file/js/common/ProgressEvent.js
  81. +47 −0 ext/cordova.file/js/common/requestFileSystem.js
  82. +49 −0 ext/cordova.file/js/common/resolveLocalFileSystemURI.js
  83. +37 −0 ext/cordova.file/library.xml
  84. +66 −0 ext/cordova.file/org/apache/cordova/file/Entry.java
  85. +84 −0 ext/cordova.file/org/apache/cordova/file/File.java
  86. +1,049 −0 ext/cordova.file/org/apache/cordova/file/FileManager.java
  87. +1 −0 ext/cordova.filetransfer/cordova.filetransfer
  88. +76 −0 ext/cordova.filetransfer/js/common/FileTransfer.js
  89. +20 −0 ext/cordova.filetransfer/js/common/FileTransferError.js
  90. +23 −0 ext/cordova.filetransfer/js/common/FileUploadOptions.js
  91. +18 −0 ext/cordova.filetransfer/js/common/FileUploadResult.js
  92. +23 −0 ext/cordova.filetransfer/library.xml
  93. +385 −0 ext/cordova.filetransfer/org/apache/cordova/http/FileTransfer.java
  94. +63 −0 ext/cordova.filetransfer/org/apache/cordova/http/FileUploadResult.java
  95. +258 −0 ext/cordova.filetransfer/org/apache/cordova/http/FileUploader.java
  96. +66 −0 ext/cordova.filetransfer/org/apache/cordova/http/HttpUtils.java
  97. +50 −0 ext/cordova.geolocation/js/common/Coordinates.js
  98. +15 −0 ext/cordova.geolocation/js/common/Position.js
  99. +24 −0 ext/cordova.geolocation/js/common/PositionError.js
  100. +101 −0 ext/cordova.geolocation/js/common/geolocation.js
  101. +24 −0 ext/cordova.geolocation/library.xml
  102. +376 −0 ext/cordova.geolocation/org/apache/cordova/geolocation/Geolocation.java
  103. +133 −0 ext/cordova.geolocation/org/apache/cordova/geolocation/GeolocationListener.java
  104. +73 −0 ext/cordova.geolocation/org/apache/cordova/geolocation/GeolocationResult.java
  105. +36 −0 ext/cordova.geolocation/org/apache/cordova/geolocation/GeolocationStatus.java
  106. +133 −0 ext/cordova.geolocation/org/apache/cordova/geolocation/Position.java
  107. +42 −0 ext/cordova.geolocation/org/apache/cordova/geolocation/PositionOptions.java
  108. +19 −0 ext/cordova.network/js/common/Connection.js
  109. +67 −0 ext/cordova.network/js/common/network.js
  110. +21 −0 ext/cordova.network/library.xml
  111. +355 −0 ext/cordova.network/org/apache/cordova/network/ConnectionInfoAction.java
  112. +72 −0 ext/cordova.network/org/apache/cordova/network/Network.java
  113. +60 −0 ext/cordova.notification/js/blackberry/BBnotification.js
  114. +63 −0 ext/cordova.notification/js/common/notification.js
  115. +21 −0 ext/cordova.notification/library.xml
  116. +146 −0 ext/cordova.notification/org/apache/cordova/notification/ActivityDialog.java
  117. +83 −0 ext/cordova.notification/org/apache/cordova/notification/AlertAction.java
  118. +68 −0 ext/cordova.notification/org/apache/cordova/notification/AlertDialog.java
  119. +160 −0 ext/cordova.notification/org/apache/cordova/notification/BeepAction.java
  120. +85 −0 ext/cordova.notification/org/apache/cordova/notification/ConfirmAction.java
  121. +100 −0 ext/cordova.notification/org/apache/cordova/notification/ConfirmDialog.java
  122. +141 −0 ext/cordova.notification/org/apache/cordova/notification/Notification.java
  123. +182 −0 ext/cordova.notification/org/apache/cordova/notification/ProgressDialog.java
  124. +64 −0 ext/cordova.notification/org/apache/cordova/notification/VibrateAction.java
  125. +22 −0 ext/cordova/library.xml
  126. +266 −0 ext/cordova/org/apache/cordova/CordovaExtension.java
  127. +71 −0 ext/cordova/org/apache/cordova/api/IPlugin.java
  128. +59 −0 ext/cordova/org/apache/cordova/api/JSExtension.java
  129. +162 −0 ext/cordova/org/apache/cordova/api/Plugin.java
  130. +168 −0 ext/cordova/org/apache/cordova/api/PluginManager.java
  131. +196 −0 ext/cordova/org/apache/cordova/api/PluginManagerFunction.java
  132. +152 −0 ext/cordova/org/apache/cordova/api/PluginResult.java
  133. +208 −0 ext/cordova/org/apache/cordova/json4j/JSON.java
  134. +1,123 −0 ext/cordova/org/apache/cordova/json4j/JSONArray.java
  135. +118 −0 ext/cordova/org/apache/cordova/json4j/JSONArtifact.java
  136. +55 −0 ext/cordova/org/apache/cordova/json4j/JSONException.java
  137. +1,367 −0 ext/cordova/org/apache/cordova/json4j/JSONObject.java
  138. +32 −0 ext/cordova/org/apache/cordova/json4j/JSONString.java
  139. +58 −0 ext/cordova/org/apache/cordova/json4j/JSONStringer.java
  140. +586 −0 ext/cordova/org/apache/cordova/json4j/JSONWriter.java
  141. +22 −0 ext/cordova/org/apache/cordova/json4j/internal/JSON4JNumber.java
  142. +47 −0 ext/cordova/org/apache/cordova/json4j/internal/JSON4JPBackReader.java
  143. +54 −0 ext/cordova/org/apache/cordova/json4j/internal/JSON4JStringReader.java
  144. +68 −0 ext/cordova/org/apache/cordova/json4j/internal/JSON4JStringWriter.java
  145. +109 −0 ext/cordova/org/apache/cordova/json4j/internal/NumberUtil.java
  146. +338 −0 ext/cordova/org/apache/cordova/json4j/internal/Parser.java
  147. +353 −0 ext/cordova/org/apache/cordova/json4j/internal/Serializer.java
  148. +102 −0 ext/cordova/org/apache/cordova/json4j/internal/SerializerVerbose.java
  149. +115 −0 ext/cordova/org/apache/cordova/json4j/internal/Token.java
  150. +619 −0 ext/cordova/org/apache/cordova/json4j/internal/Tokenizer.java
  151. +71 −0 ext/cordova/org/apache/cordova/ui/SpacerField.java
  152. +106 −0 ext/cordova/org/apache/cordova/util/ApplicationUtils.java
  153. +675 −0 ext/cordova/org/apache/cordova/util/FileUtils.java
  154. +83 −0 ext/cordova/org/apache/cordova/util/Log.java
  155. +41 −0 ext/cordova/org/apache/cordova/util/LogFunction.java
  156. +155 −0 ext/cordova/org/apache/cordova/util/Logger.java
  157. +103 −0 ext/cordova/org/apache/cordova/util/StringUtils.java
  158. +316 −0 sample/blackberry.xml
  159. +115 −0 sample/build.xml
  160. +47 −0 sample/lib/ant-contrib/LICENSE.txt
  161. BIN sample/lib/ant-contrib/ant-contrib-1.0b3.jar
  162. +60 −0 sample/project.properties
  163. +76 −0 sample/www/config.xml
  164. +957 −0 sample/www/index.html
  165. +482 −0 sample/www/json2.js
  166. BIN sample/www/resources/icon.png
  167. BIN sample/www/resources/loading_foreground.png
@@ -0,0 +1,26 @@
+# OS X
+
+.DS_Store
+
+# Eclipse
+
+bin/
+build/
+deliverables/
+.preprocessed/
+
+# Text Editor Tmp
+
+._*
+
+# Generated libraries
+
+build/
+dist/
+
+# OS X
+
+.DS_Store
+
+tags
+
106 README.md
@@ -0,0 +1,106 @@
+Cordova BlackBerry Plugification
+================================
+
+This project is an experimentation on refactoring the [Cordova BlackBerry framework](https://github.com/apache/incubator-cordova-blackberry-webworks) to convert all the API to plugins. Some potential benefits of this refactoring are:
+
+- Separation of core framework from features.
+- Ability for an application to only include required features.
+- Better association/packaging of JavaScript and native code.
+- Formal definition of Cordova plugin framework.
+- Future ability to centralize plugin installation.
+
+This refactoring is heavily dependent on the [BlackBerry WebWorks Framework](https://bdsc.webapps.blackberry.com/html5/) including the use of some potentially unsupported API/behavior.
+
+History
+-------
+
+The existing Cordova BlackBerry implementation makes use of the BlackBerry WebWorks Framework to define a single [WebWorks JavaScript extension](https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/using_javascript_extensions_1866976_11.html) which exposes a JavaScript API at org.apache.cordova.JavaPlugin as an interface to native code. This extension handles registering of Cordova plugins, their lifecycle and the `exec` interface into them. All the native code, including plugins, is packaged into a single source jar which must be included in a projects `ext` folder. The [JavaScript interface](https://github.com/apache/incubator-cordova-js) is separately maintained and concatenated together to form a large file which must be included by an application.
+
+Pluggable Cordova Design
+------------------------
+
+The intent of this project is to make greater use of the features available in the BlackBerry WebWorks Framework while maintaining existing Cordova Plugin API to accomplish the goals of providing all Cordova API as feature based plugins. The BlackBerry WebWorks Framework provides the ability to define extensions to the framework and provides packaging and build tools which support them. The build tools automatically detect what extensions a project is building and only include the necessary code in the build.
+
+In this project each feature based API is provided as an independent WebWorks JavaScript extension. This allows Cordova to easily make use of the existing build functionality provided by the WebWorks Framework. Installing Cordova plugins is easy since the native code implementation for the API as well as the associated JavaScript are all contained in an installable extension folder.
+
+JavaScript associated with a plugin is automatically injected into the browser field by the native code before the projects content is processed so there is no longer a need to include a cordova.js file.
+
+Project Structure
+-------------------
+
+- ext/ - Each folder in this project is a complete WebWorks JavaScript Extension containing the native code, JavaScript and configuration file for the extension.
+
+ cordova/ ................. Cordova base framework (required)
+ cordova.core/ ............ Core JavaScript files (required)
+ cordova.accelerometer/ ... Accelerometer plugin
+ cordova.app/ ............. Application management plugin
+ cordova.battery/ ......... Battery plugin
+ cordova.camera/ .......... Camera plugin
+ cordova.capture/ ......... Capture plugin
+ cordova.contact/ ......... Contacts plugin
+ cordova.device/ .......... Device plugin
+ cordova.file/ ............ File plugin
+ cordova.filetransfer/ .... FileTransfer plugin
+ cordova.geolocation/ ..... Geolocation plugin
+ cordova.network/ ......... NetworkStatus plugin
+ cordova.notification/ .... Notification plugin
+
+Beneath each folder is a `library.xml` file which is the WebWorks Extension configuration file defining the extension and the location of the resources that compose it.
+
+- sample/ - This contains a sample application project.
+
+Installation
+------------
+
+To install, simply download the contents of this project and copy/move/link the folders in the `ext` folder to your BlackBerry WebWorks SDK `ext` folder. Note,you need to install in the SDK `ext` folder and not your projects `ext` folder. Installing into the SDK `ext` folder allows the extensions to be used across all your BlackBerry WebWorks projects.
+
+Configuration
+-------------
+
+Enabling a project to use the Cordova API requires modification of the projects `config.xml`. Cordova API are exposed as the following WebWorks feature ids:
+
+- cordova (required)
+- cordova.core (required)
+- cordova.accelerometer
+- cordova.app
+- cordova.battery
+- cordova.camera
+- cordova.capture
+- cordova.contact
+- cordova.device
+- cordova.file
+- cordova.filetransfer
+- cordova.geolocation
+- cordova.network
+- cordova.notification
+
+Any project which needs to use the Cordova API must at a minimum include the following two feature ids:
+
+ <feature id="cordova" required="true" version="1.0.0" />
+ <feature id="cordova.core" required="true" version="1.0.0" />
+
+Additional API can be enabled by adding entries for the feature id into the `config.xml` file.
+
+Note: Certain BlackBerry feature ids are also required in the `config.xml` file. Its recommended to use the sample project and modify the `config.xml` as needed.
+
+Possible Concerns
+-----------------
+
+- In order to bundle the native code and JavaScript code into a single extensionwhich is then notified of the JavaScript source paths, the Cordova Plugins implement and somewhat undocumented interface [IJSExtension](https://github.com/blackberry/WebWorks/blob/master/api/CommonAPI/src/blackberry/core/IJSExtension.java)
+- cordova.js is no longer needed since JavaScript is injected by native code.
+- Since the JavaScript is injected by the native code, it does not show up in the web inspector as a resource when remote debugging.
+- plugins.xml is no longer needed as the `config.xml` feature ids determine what plugins are used.
+- Sample expects the extensions to be installed in WebWorks SDK `ext` folder. This appears to be the strategy that RIM is advocating as oppose to a projects `ext` folder. Should be possible to build individual source jars for each extension and place in projects `ext` folder but I have not tried.
+
+Suggested Improvements to WebWorks Framework
+--------------------------------------------
+
+- An extension `library.xml` supports defining dependencies but this only affects the build and not runtime. Would be nice to be able to specify extension dependencies to force an extension to load before another one.
+- The `library.xml` file provides a way to declare associated JavaScript files, but when the extension is loaded, its passed all the JavaScript files known by the framework instead of just the ones needed by the extension.
+
+
+Further Information
+-------------------
+- [Existing Cordova BlackBerry implementation](https://github.com/apache/incubator-cordova-blackberry-webworks)
+- [BlackBerry WebWorks Framework](https://bdsc.webapps.blackberry.com/html5/)
+- [WebWorks Extensions](https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/using_javascript_extensions_1866976_11.html)
@@ -0,0 +1,14 @@
+// file: lib/common/plugin/Acceleration.js
+cordova.define("cordova/plugin/Acceleration", function(require, exports, module) {
+var Acceleration = function(x, y, z, timestamp) {
+ this.x = x;
+ this.y = y;
+ this.z = z;
+ this.timestamp = timestamp || (new Date()).getTime();
+};
+
+module.exports = Acceleration;
+
+});
+
+cordova.addPlugin('Acceleration', 'cordova/plugin/Acceleration', false);
@@ -0,0 +1,102 @@
+// file: lib/common/plugin/accelerometer.js
+cordova.define("cordova/plugin/accelerometer", function(require, exports, module) {
+
+/**
+ * This class provides access to device accelerometer data.
+ * @constructor
+ */
+var utils = require("cordova/utils"),
+ exec = require("cordova/exec");
+
+// Local singleton variables.
+var timers = {};
+
+var accelerometer = {
+ /**
+ * Asynchronously aquires the current acceleration.
+ *
+ * @param {Function} successCallback The function to call when the acceleration data is available
+ * @param {Function} errorCallback The function to call when there is an error getting the acceleration data. (OPTIONAL)
+ * @param {AccelerationOptions} options The options for getting the accelerometer data such as timeout. (OPTIONAL)
+ */
+ getCurrentAcceleration: function(successCallback, errorCallback, options) {
+
+ // successCallback required
+ if (typeof successCallback !== "function") {
+ console.log("Accelerometer Error: successCallback is not a function");
+ return;
+ }
+
+ // errorCallback optional
+ if (errorCallback && (typeof errorCallback !== "function")) {
+ console.log("Accelerometer Error: errorCallback is not a function");
+ return;
+ }
+
+ // Get acceleration
+ exec(successCallback, errorCallback, "Accelerometer", "getAcceleration", []);
+ },
+
+ /**
+ * Asynchronously aquires the acceleration repeatedly at a given interval.
+ *
+ * @param {Function} successCallback The function to call each time the acceleration data is available
+ * @param {Function} errorCallback The function to call when there is an error getting the acceleration data. (OPTIONAL)
+ * @param {AccelerationOptions} options The options for getting the accelerometer data such as timeout. (OPTIONAL)
+ * @return String The watch id that must be passed to #clearWatch to stop watching.
+ */
+ watchAcceleration: function(successCallback, errorCallback, options) {
+
+ // Default interval (10 sec)
+ var frequency = (options !== undefined && options.frequency !== undefined)? options.frequency : 10000;
+
+ // successCallback required
+ if (typeof successCallback !== "function") {
+ console.log("Accelerometer Error: successCallback is not a function");
+ return;
+ }
+
+ // errorCallback optional
+ if (errorCallback && (typeof errorCallback !== "function")) {
+ console.log("Accelerometer Error: errorCallback is not a function");
+ return;
+ }
+
+ // Make sure accelerometer timeout > frequency + 10 sec
+ exec(
+ function(timeout) {
+ if (timeout < (frequency + 10000)) {
+ exec(null, null, "Accelerometer", "setTimeout", [frequency + 10000]);
+ }
+ },
+ function(e) { }, "Accelerometer", "getTimeout", []);
+
+ // Start watch timer
+ var id = utils.createUUID();
+ timers[id] = window.setInterval(function() {
+ exec(successCallback, errorCallback, "Accelerometer", "getAcceleration", []);
+ }, (frequency ? frequency : 1));
+
+ return id;
+ },
+
+ /**
+ * Clears the specified accelerometer watch.
+ *
+ * @param {String} id The id of the watch returned from #watchAcceleration.
+ */
+ clearWatch: function(id) {
+
+ // Stop javascript timer & remove from timer list
+ if (id && timers[id] !== undefined) {
+ window.clearInterval(timers[id]);
+ delete timers[id];
+ }
+ }
+};
+
+module.exports = accelerometer;
+
+});
+
+cordova.addPlugin('navigator.accelerometer', 'cordova/plugin/accelerometer', false);
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<library isWhitelist="true">
+ <extension id="cordova.accelerometer">
+ <entryClass>org.apache.cordova.accelerometer.Accelerometer</entryClass>
+ </extension>
+ <platforms>
+ <platform value="JAVA">
+ <target version="default" config="JAVA_XHR" />
+ </platform>
+ </platforms>
+ <configurations>
+ <configuration name="JAVA_XHR" version="1.0" comment="For XHR architecture for Java implementation">
+ <src type="text/java" path="org" comment="API implementation in JavaScript" />
+ <src type="text/javascript" path="js/common/Acceleration.js" comment="JS interface" />
+ <src type="text/javascript" path="js/common/accelerometer.js" comment="JS interface" />
+ </configuration>
+ </configurations>
+ <features>
+ <feature id="cordova.accelerometer" version="1.0.0">Cordova Accelerometer Extension</feature>
+ </features>
+</library>
Oops, something went wrong.

0 comments on commit c82a2af

Please sign in to comment.