BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-07-2007, 10:32 AM   #1
tibbetts
New Member
 
Join Date: Jul 2007
Model: 8300
PIN: N/A
Carrier: AT&T
Posts: 1
Default How to inspect/extract the contents of a .COD file?

Please Login to Remove!

I'm new to the BlackBerry platform (and mobile java in general), so I'm still getting my bearings. I'd like to be able to inspect existing blackberry applications to see how they use certain APIs. To do this, I'd like to be able to get out the Java .class files from a compiled application, so I can decompile them using standard Java tools.

Unfortunately, I've been unable to find documentation about what the .COD file format is. At a first level, it is often a ZIP file. But when it is a zip it usually contains other .COD files, which identify as "Compiled PSI (v1) data". I've been unable to find information on how to inspect, extract, or convert these. Are there tools or documentation that will help me?

Thanks for any help you can pass my way,
Richard
Offline  
Old 07-08-2007, 05:59 AM   #2
Skipper_Joe
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Default

Hi, Richard!

You can't decompile cod files using existing java tools, since cod file doesn't contain class files.
.cod is native blackberry binary format.

I suggest you to review code of open-source applications. Blackberrytools or bbgolf, for example.
Offline  
Old 07-08-2007, 10:02 AM   #3
CPO
New Member
 
Join Date: Apr 2007
Location: Ottawa
Model: 8100
PIN: N/A
Carrier: Rogers
Posts: 14
Default

There's a reverse engineering blog that describes some progress in reversing the COD file format ("http://drbolsen.wordpress.com"), but i don't believe a tool is provided to do the reversing for you.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF picture

6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF

$155.59



45/5 MFD ±5% Dual Run Capacitor 370 450 VAC CBB65 AC Motor HVAC 45+5 uF Fan 10pk picture

45/5 MFD ±5% Dual Run Capacitor 370 450 VAC CBB65 AC Motor HVAC 45+5 uF Fan 10pk

$85.99



CBB61 250V  Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF picture

CBB61 250V Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF

$129.95



5pc Radial Electrolytic Capacitor 250V 100V 50V 25V 16V 0.22uF-4700uF 10000uF picture

5pc Radial Electrolytic Capacitor 250V 100V 50V 25V 16V 0.22uF-4700uF 10000uF

$27.99



CBB Capacitors 100V 250V 400V 630V 1600V Polyester Film Capacitor-Various Values picture

CBB Capacitors 100V 250V 400V 630V 1600V Polyester Film Capacitor-Various Values

$127.92



500pc Radial Electrolytic Capacitor Assortment Kit 24 Value 0.1uF-1000uF 10V-50V picture

500pc Radial Electrolytic Capacitor Assortment Kit 24 Value 0.1uF-1000uF 10V-50V

$13.04







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.