BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-01-2007, 08:49 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: India
Model: 8700g
Carrier: Airtel
Posts: 117
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default dont understand this

Please Login to Remove!

I had developed a small application recently using jde 4.2.0.and on simulater it worked fine.but i have an older phone...7100v on which i had os 4.0.2.
so when i tried the app on (simulater as well as device) i got an error "out of memorry".i read somewhere that version mismatch could a reason for this.so i compiled the same code in jde 4.0.2 and it worked fine.but when i used the same cod file on simulator for 4.2.1(simulator 8100) it again gave me an error .basically a code complied on one jde version does not work on other.

now i had an app..downloaded from internet it did not specify anything abt the version and works fine on both versions.

so how do i make my code version independant....am i missing something here....pls help!!!
__________________
Thanks
Meenal
Offline  
Old 06-01-2007, 09:32 AM   #2 (permalink)
New Member
 
Join Date: Apr 2007
Model: 8100
Carrier: Cingular
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The BlackBerry OS is (generally) backwards compatible, but the JDE isn't. This means when you build an application, you use the JDE version of the lowest OS you want to support. So if you want to support phones with 4.0.2, use the 4.0.2 JDE or lower. If you want to take advantage of new features in the OS, you have to create separate binaries built with separate versions of the JDE. If you're not using any new API's, there's no reason to use the newer JDE.

Of course, you end up with multiple JDE's on your development box.
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.