BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-30-2004, 11:57 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2004
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default is there a way to "explore" cod files

Please Login to Remove!

and to inspect the code that is inside of them?

thank you
Offline  
Old 08-30-2004, 12:30 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
kirson's Avatar
 
Join Date: Aug 2004
Location: Chicago
Model: 9000
Carrier: ATT
Posts: 421
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Unfortuntely (?) there is not.

Most Java applications are very easy to inspect -- there are numerous de-compilers available (many for free) that let you look inside the code. Even if the programmers used an obfuscator, the code can still be read pretty well.

But, as far as I can tell (based on extensive research and numerous conversations with RIM development team), there is no de-compiler available for .cod files. This is actually a real pain in the neck if you are trying to learn how to develop at the "hello world" level on the Blackberry -- when you work in the JDE your changes are made to the underlying Java files while you work. If you're not careful about saving multiple versions of files, you can very easily lose a bunch of work, and have no way to get it back -- the old .cod files are simply not available as a guide. This, in my opinion, sucks.

On the other hand, it makes developing for the Blackberry a bit more attractive -- you don't have to deal with the otherwise ever-present code theft Java programmers have to deal with all the time.

Ian
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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