Removing an app
You may want to remove apps from your device or simulator for various reasons, ranging from simply not needing a specific app anymore to wanting to clean your device of all the unused apps. There are different ways you can remove an app from your device or simulator.
Remove an app using the device's display
You can remove your app from the display of your device or simulator.To remove your app using the screen display of your device or simulator:
-
Navigate to the home screen then locate the app which you wish to remove.
-
Touch and hold the app icon until all the icons begin to blink.
-
Tap the trash icon for the app of your choice to remove it from the device or simulator.
Remove an app using the QNX Momentics IDE
You can remove your app from the device or simulator using the QNX Momentics IDE.To remove your app using the QNX Momentics IDE tools, make sure your device or simulator is properly connected and follow these instructions:
-
Launch the QNX Momentics IDE.
-
In the C/C++ perspective, locate the app which you wish to remove in the Project Explorer on the left.
-
Find the BAR file under the BAR Packages folder of the app.
-
Right-click the BAR file, choose to remove the app from the device or simulator.
Remove an app using command-line tools
You can remove your app from the device or simulator using the command line tools.To remove your app using the command line tool, make sure your device or simulator is properly connected and follow these instructions:
-
In a command prompt window, navigate to the workspace that contains the app you want to remove and make note of the address of the location of the BAR file for your app.For example: C:/workspace/appname/Device-Release/appname.bar
-
Navigate to the tools directory where you installed the QNX Momentics IDE.The tools directory is located under: [path to NDK]/host_N_N_N_N/win32/x86/usr/bin where N are numbers representing the release version of your QNX Momentics IDE.
-
Type the following command:
For Windows, blackberry-deploy -uninstallApp -device IP_address -package bar_file_name -password device_password For Mac/Linux ./blackberry-deploy -uninstallApp -device IP_address -package bar_file_name -password device_password
- IP_address: The IP Address of the device or simulator.
- bar_file_name: Absolute path address of the BAR file found in step 1.
- device_password: The password of the device or simulator.
For example, if you connect to a device with the IP address of 169.254.0.1, with a password BBRocks123, a command to remove an app named appname on Windows might be:
blackberry-deploy -uninstallApp -device 169.254.0.1 -package C:/workspace/appname/Device-Release/appname.bar -password BBRocks123