Uninstall BlackBerry app installed via Eclipse

2019-04-14 05:20发布

问题:

I imported the PaneManagerDemo sample project in my BB Eclipse workspace, and right-clicked on the project > Load Project(s) on Device. I get a Pane Manager Demo icon on my home screen - OK. It doesn't run, because I'm using a Curve 8330 (OS 4.5.0.138), and some of the classes used in the demo are not supported. How do I delete it from my handheld?

When I run:

javaloader dir

I see:

PaneManagerDemo                                0.9              12232     Fri Apr 29 02:57:24 2011

The following commands:

javaloader info PaneManagerDemo
javaloader info PaneManagerDemo.cod
javaloader info PaneManagerDemo.jar
javaloader info PaneManagerDemo.jad

All produce the same output:

Name                                           Version          Size      Created
---------------------------------------------  ---------------  --------  ------------------------
PaneManagerDemo.jar                            unable to open file
---------------------------------------------  ---------------  --------  ------------------------

The Pane Manager Demo app does not appear in my list of installed applications under Options > Advanced Options > Applications.

What can I do to get rid of the install of this demo and the associated home screen shortcut?

回答1:

Have you tried using javaloader erase option e.g.

javaloader -usb erase -f  [moduleName]

where [moduleName] is the name of the module (no extension) you want to delete from the list of installed Modules located at:

Options > Advanced Options > Applications > 'Modules' menu item
or
Options > Device > Application Management > 'Modules' menu item



回答2:

Run "clean.bat" from the root simulator's installation directory. It will have effect of reinstalling the simulator from zero.



回答3:

Arhimed's answer is great and will work. This can also be accomplished from within Eclipse: In Debug Configurations, select your simulator debug configuration, then go to the Memory tab and select "Reset the file system on startup" and "Reset NVRAM on startup." Then, next time you debug, the device will be wiped before re-installing your app(s) and debugging.

If you don't want to clean the device every single time you debug, make sure to go back into your Debug Configurations and clear those two checkboxes once you are happy with the state of the simulator.