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