Updated Branches: refs/heads/master aadb4e4fc -> cdc1cd661
[CB-716] upgrade guide for blackberry, 1.7 -> 1.8 Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/cdc1cd66 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/cdc1cd66 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/cdc1cd66 Branch: refs/heads/master Commit: cdc1cd661d64f74aca4f0cd1ea2d80310410ede6 Parents: aadb4e4 Author: Fil Maj <maj....@gmail.com> Authored: Fri Jun 1 14:43:36 2012 -0700 Committer: Fil Maj <maj....@gmail.com> Committed: Fri Jun 1 14:43:36 2012 -0700 ---------------------------------------------------------------------- docs/en/edge/guide/upgrading/blackberry/index.md | 34 ++++++++++++++-- 1 files changed, 29 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/cdc1cd66/docs/en/edge/guide/upgrading/blackberry/index.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/guide/upgrading/blackberry/index.md b/docs/en/edge/guide/upgrading/blackberry/index.md index 3f7dd2d..c047267 100644 --- a/docs/en/edge/guide/upgrading/blackberry/index.md +++ b/docs/en/edge/guide/upgrading/blackberry/index.md @@ -30,17 +30,41 @@ Updating just the www folder: 1. Open your `www/` folder, which contains your app. 2. Remove and update the .jar file in the `ext/` folder. -3. Update the contents of the `ext-air/` folder` +3. Update the contents of the `ext-air/` folder. 4. Copy the new `cordova-1.8.0.js` into your project. - If playbook, then update the .js file in the `playbook/` folder. 5. Update your HTML to use the new `cordova-1.8.0.js` file. +6. Update your `www/plugins.xml` file. Two plugins changed their + namespace/service label. Change the old entries for the Capture and + Contact plugins from: + + <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/> + <plugin name="Contact" value="org.apache.cordova.pim.Contact"/> + + To: + + <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/> + <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/> + Updating the sample folder (ie, updating using the ant tools): 1. Open the `sample/lib/` folder. -2. Update the .jar file in the `ext/` folder. -3. Update the contents of the `ext-air/` folder. -4. Update the .js file in the `javascript/` folder. -5. Open the `sample/lib/` folder and rename the `1.7.0/` folder to `1.8.0/`. +2. Update the .jar file in the `cordova.1.7.0/ext/` folder. +3. Update the contents of the `cordova.1.7.0/ext-air/` folder. +4. Update the .js file in the `cordova.1.7.0/javascript/` folder. +5. Open the `sample/lib/` folder and rename the `cordova.1.7.0/` folder to `cordova.1.8.0/`. 6. Type `ant blackberry build` or `ant playbook build` to update the `www/` folder with updated Cordova. 7. Open the `www/` folder and update your HTML to use the new `cordova-1.8.0.js` file. +8. Open the `www/` folder and update the `plugins.xml` file. Two plugins + changed their namespace/service label. Change the old entries for the + Capture and Contact plugins from: + + <plugin name="Capture" value="org.apache.cordova.media.MediaCapture"/> + <plugin name="Contact" value="org.apache.cordova.pim.Contact"/> + + To: + + <plugin name="Capture" value="org.apache.cordova.capture.MediaCapture"/> + <plugin name="Contacts" value="org.apache.cordova.pim.Contact"/> +