02-17-2011 03:18 PM
I had a some problems with uninstalling the bar file loaded from command line.
Finally I wrote the small tutorial with a question/request at the end...
Configuration:
Windows 7 Ultimate, 64-bit (Build 7600) 6.1.7600
VMware® Player 3.1.3 build-324285
Playbook simulator 0.9.3 beta
c:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayB
ook\bbwp\blackberry-tablet-sdk\bin>blackberry-deploy -listInstalledApps -device
192.168.40.128 -password playbook
Sending List request... Info: Action: List @applications qnx.browser.cW54LmJyb3dzZXIgICAgICAgICA::cW54LmJyb3dzZXIgICAgICAgICA,1.0.0.5,web sl sketchPad8f96403ec2d94c8f72bc0e12411d136.NzJiYzBlM TI0MTFkMTM2ICAgICA::NzJiYzBlMT I0MTFkMTM2ICAgICA,1.0.3.0,source::developer
c:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayB
ook\bbwp\blackberry-tablet-sdk\bin>blackberry-deploy -uninstallApp -device 192.1
68.40.128 -package-id NzJiYzBlMTI0MTFkMTM2ICAgICA -password playbook
Sending Uninstall request... Info: Action: Uninstall Info: Uninstalling NzJiYzBlMTI0MTFkMTM2ICAgICA... actual_dname::sketchPad8f96403ec2d94c8f72bc0e12411d136.NzJiYzBlMTI0MTFkMTM2ICAgI CA actual_id::NzJiYzBlMTI0MTFkMTM2ICAgICA actual_version::1.0.3.0 result::success
c:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager for PlayB
ook\bbwp\blackberry-tablet-sdk\bin>blackberry-deploy -listInstalledApps -device
192.168.40.128 -password playbook
Sending List request... Info: Action: List @applications qnx.browser.cW54LmJyb3dzZXIgICAgICAgICA::cW54LmJyb3dzZXIgICAgICAgICA,1.0.0.5,web sl
Conclusion: the command line from the tutorial is wrong...
Question/Feature request: Is it possible to uninstall the application by command "package" instead of "package-id"?
I tried all the possible solutions to remove the app from the playbook simulator, but only package-id helped.
Really not convenient solution... ![]()
BR, HAL-9000
02-19-2011 02:51 AM
Thanks for this. I was wondering why the heck uninstallApp appeared to happily do nothing...
03-04-2011 11:04 AM
Hi there,
The command to uninstall an application from the Tablet OS simulator is the following:
blackberry-deploy -uninstallApp -device <IP address> -package <full path to BAR file> -password <device password>
Note: Use quotes to enclose the full path to the BAR file argument.
I believe the documentation was incorrect for a period of time, however has since been corrected. Sorry for any confusion.
Cheers,
Adam
03-06-2011 11:34 AM
The method you described can be used only when you have an access to the project and its bar file, which is exactly the same as put on the machine (playbook simulator).
In case the bar file/project has been deleted, the abovementioned tutorial is valid.