Testing applications using the compiled .cod files
When you build a project using the BlackBerry® Integrated Development Environment, the BlackBerry IDE compiles your source files into Java® bytecode, performs preverification, and creates a single .cod file and .jad file for a BlackBerry® device application.
If a BlackBerry device application contains more than 64 KB of bytecode or resource data, the BlackBerry IDE creates a .cod file that contains sibling .cod files. Only the BlackBerry® Browser supports wireless installation of a .cod file that contains sibling .cod files. To determine if a .cod file contains sibling .cod files, extract the contents of the .cod file. Any .cod files within the original .cod file are the sibling files.
To identify modules that a BlackBerry device application requires, but are not provided with it, examine the Java® application descriptor (.jad) file RIM-COD-Module-Dependencies attribute.
- Install and remove a .cod file for testing
- Save a .cod file from a device to a computer
- Retrieve information about a .cod file