BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-02-2004, 07:22 PM   #1 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

Please Login to Remove!

__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 11-02-2004, 09:53 PM   #2 (permalink)
CrackBerry Addict
 
WorldIRC's Avatar
 
Join Date: Oct 2004
Location: Toronto
Model: 9900
OS: 5.0.0.0
Carrier: Rogers Wireless
Posts: 916
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

__________________
Brian Bader
MSN / Email: [email address]
AOL: WorldIRC1986
Offline  
Old 11-02-2004, 09:06 PM   #3 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 11-02-2004, 09:49 PM   #4 (permalink)
CrackBerry Addict
 
WorldIRC's Avatar
 
Join Date: Oct 2004
Location: Toronto
Model: 9900
OS: 5.0.0.0
Carrier: Rogers Wireless
Posts: 916
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

__________________
Brian Bader
MSN / Email: [email address]
AOL: WorldIRC1986
Offline  
Old 11-05-2004, 02:19 AM   #5 (permalink)
New Member
 
Join Date: Dec 2004
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Offline  
Old 12-30-2004, 05:49 PM   #6 (permalink)
Knows Where the Search Button Is
 
jcomeau_ictx's Avatar
 
Join Date: Dec 2004
Location: Columbus, NM, USA
Model: emu
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default cod file size real-world limits

Wow, after I posted this last time you guys must have had a server crash... offline for a few days, and now I had to re-register... anyways:

Anybody have experience getting large applications (.cod size over the 64k code/64k data that RIM still says is the limit) to work? Since the 4.0 JDE allows it, it should be able to work on 4.0 devices. And in fact I've gotten a 500k .cod to load and run on a 7290 (not just on the simulator) but more than one has been problematic so far.
__________________
Have you googled yourself lately?
Offline  
Old 01-01-2005, 09:59 PM   #7 (permalink)
Knows Where the Search Button Is
 
jcomeau_ictx's Avatar
 
Join Date: Dec 2004
Location: Columbus, NM, USA
Model: emu
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm beginning to understand how this works.

It turns out that the more recent JDEs (the 4.0 for sure, haven't tried 3.7) allow you to bypass the limit in a sneaky way. The limit is still there; however, .cod files that exceed it still compile, but if you look at them with a debugger or dump utility like xxd (hint: install Cygwin) you can see that the magic number is no longer 0xc0de but 'PK'... in other words, it's a ZIP file masquerading as a .cod file. And if you unzip them you'll see that they are composed of a number of sub-cod's blather.cod, blather-1.cod, blather-2.cod, etc.

Now, the simulator seems to be able to handle these just fine, and so can a regular device (tested on 7290) under certain circumstances. For one thing, the large ones seem to need to have their own .jad or .alx; if a zipped .cod is in a list of multiple cods in a .jad or .alx, the device will choke on reaching it. And a 800k .cod wouldn't work no matter what, it just put the device in an endless reboot loop.

Regarding reaching your website: it turns out I can always reach it as www.blackberrydevelopers.com, and for a while after that my bookmark as www.blackberryforums.com will also work. But it I try to access it as www.blackberryforums.com "cold", that is, after my DNS cache times out, it's no go.
__________________
Have you googled yourself lately?
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.