Install And Remove A .Cod File For Testing; Save A .Cod File From A Device To A Computer; Retrieve Information About A .Cod File - Blackberry JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE Manual

Version: 4.7.0
Hide thumbs Also See for JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE:
Table of Contents

Advertisement

Development Guide

Install and remove a .cod file for testing

To load, remove, or save .cod files when testing a BlackBerry® device application, use the JavaLoader tool, included with the
BlackBerry® Java® Development Environment. For production applications, use the BlackBerry® Desktop Software. You must
load BlackBerry device applications with dependencies in the correct order. If project A is dependent on project B, load the project
B .cod file before loading the project A .cod file.

Save a .cod file from a device to a computer

To load, remove, or save .cod files when testing a BlackBerry® device application, use the JavaLoader tool, included with the
BlackBerry® Java® Development Environment.
1.
Connect the BlackBerry device to the computer.
2.
Open a command prompt, and navigate to the location of the JavaLoader.exe file.
3.
Perform one of the following actions:
Task
Save a BlackBerry device
application .cod file from the
BlackBerry device to your computer.
Save BlackBerry device
application .cod files listed in the
same .jad file from the BlackBerry
device to your computer.
Save BlackBerry device
application .cod files stored in the
same CodeModuleGroup from the
BlackBerry device to your computer.

Retrieve information about a .cod file

To load, remove, or save .cod files when testing a BlackBerry® device application, use the JavaLoader tool, included with the
BlackBerry® Java® Development Environment.
1.
Connect the BlackBerry® device to the computer.
88
Steps
Issue a command using the following format: javaloader save
.cod file
For example:
javaloader.exe save MyApplication.cod
Issue a command using the following format: javaloader save
.jad file
For example:
javaloader.exe save MyApplication.jad
Issue a command using the following format:
javaloader save [-g] module
For example: javaloader.exe save -g MyApplication
Testing applications using the compiled .cod files

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment

Table of Contents