Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
Posts: 6
Registered: ‎02-11-2011
My Device: 9700 bands 1,4,8 OS 5.0 ; 9700 bands 1,2,5,6 OS 6.0; 9520 OS 5.0

Uninstalling a WebWorks application on VMware simulator tutorial with 0.9.3 playbook simulator

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

 

  • Checking the list of installed applications:

 

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.NzJiYzBlMTI0MTFkMTM2ICAgICA::NzJiYzBlMT
I0MTFkMTM2ICAgICA,1.0.3.0,source::developer

 

 

 

  • Uninstalling the application:

 

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

 

 

  • Checking the list of installed applications:

 

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...

http://docs.blackberry.com/en/developers/deliverables/23979/Remove_your_application_from_the_simulat...

 

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... Smiley Indifferent

 

BR, HAL-9000

------------------------------
Everything is possible
New Developer
Posts: 64
Registered: ‎01-14-2011
My Device: Priv, 9810, PlayBook, 9000, 8820
My Carrier: AT&T

Re: Uninstalling a WebWorks application on VMware simulator tutorial with 0.9.3 playbook simulator

Thanks for this.  I was wondering why the heck uninstallApp appeared to happily do nothing...

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Uninstalling a WebWorks application on VMware simulator tutorial with 0.9.3 playbook simulator

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

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
New Developer
Posts: 6
Registered: ‎02-11-2011
My Device: 9700 bands 1,4,8 OS 5.0 ; 9700 bands 1,2,5,6 OS 6.0; 9520 OS 5.0

Re: Uninstalling a WebWorks application on VMware simulator tutorial with 0.9.3 playbook simulator

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.

------------------------------
Everything is possible