I am unable to debug my application using Eclipse > Run on device and so I am trying to load the app onto the device with an ALX file using the "Blackberry Desktop Software." However, I am unable to remove it using the device or the desktop software because the status is "Required." (see sample picture below)

Where is this status set and how can I remove it so I can actually run my application?

enter image description here

有帮助吗?

解决方案

You haven't posted your .alx file (yet), but my guess would be that somehow this got put into it:

<required>true</required>

Just remove that from the file.

Source: blackberry.com:

The required element lets you force an application to load. The application loader tool of the BlackBerry Desktop Manager selects the BlackBerry device application for installation, and the BlackBerry device user cannot change this selection. Add the following line: true.

Only corporate system administrators should use the required tag. This tag should not be used by third-party software vendors.

Update: if the mistake has already been made, installing the app with <required>true</required> in the .alx file, then you can fix this by manually uninstalling the app at the (desktop) command line. For example, on a Windows system, the command might be:

>"C:\eclipse\indigo\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.36\components\bin\JavaLoader.exe" erase -f HelloBlackBerry

RIM Wireless Handheld Java Loader
Copyright 2001-2009 Research In Motion Limited
Connected
Erasing HelloBlackBerry                Done
Disconnected

Make sure to use the -f flag! After that, the app will be gone. You can then reinstall it, making sure not to mark it as <required>. I incremented the version number in the alx file, after removing the required tag, although I don't know that this is necessary.

其他提示

Another way is to reset the BlackBerry, which what I was trying to accomplish.

First, remove the IT policies on the BlackBerry:

loader.exe /resettofactory

Second, perform a security wipe including third-party applications.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top