Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
belboz
Posts: 20
Registered: ‎04-02-2011
My Device: None
My Carrier: None
Accepted Solution

Develop Backwards Compatible App

Hi,

 

I've searched but found nothing that helped...

 

I'd like to develop an APP that works with older versions of Blackberry's.  

 

But, I do not see a setting in eclipse or the project settings that let me choose.  Did I miss something?

 

Do I have to install older SDKs?  

 

I was hoping I could just define the operating system I would like to support, and similar to Android, eclipse will only let me use those specific functions.  

 

Thanks,,,

 

 

Please use plain text.
Developer
BeroboInc
Posts: 123
Registered: ‎07-08-2011
My Device: Torch 9800, Bold 9700
My Carrier: Bell, Rogers

Re: Develop Backwards Compatible App

In the project properties you can change the bb jre to compile with. You can download from rim ealier ones.

 

But I think you can no longer download anything before 5.0 now.

 

btw, older devices do still get OS updates.

 

I wouldn't go anywhere earlier than 4.5. Nowadays I would prefer 5.0+ as min. There is just so much extra api's available that adds much more functionality to your apps using newer jre's.

 

 

 

Berobo Inc.
Police Scanner Radio / Alarm Clock lets you listen to Police scanners in your area!
http://www.berobo.com
_________________________________________________
Please click the Like button to thank the user that has helped you and
please mark post as solved when you have found the solution to your problem.
Please use plain text.
Contributor
belboz
Posts: 20
Registered: ‎04-02-2011
My Device: None
My Carrier: None

Re: Develop Backwards Compatible App

Thanks,,,

 

I installed the 4.5 JDK, but I don't see how to specifically choose this as a compiler.  I'm still stuck with 6.0.0 only.

 

Is there another file I have to download?

 

Thanks,,,

Please use plain text.
Developer
BeroboInc
Posts: 123
Registered: ‎07-08-2011
My Device: Torch 9800, Bold 9700
My Carrier: Bell, Rogers

Re: Develop Backwards Compatible App

Right click on your bb project

-select properties

-then java build path

-then the libraries tab

 

it should show your JRE you are building with. To change it to another

 

-highlight it and click the remove button

-then click Add Library button

-select JRE System Library

-then Next

-then click the Alternate JRE radio button

-the drop down to the right should display all available JRE's to choose from.

 

 

 

Berobo Inc.
Police Scanner Radio / Alarm Clock lets you listen to Police scanners in your area!
http://www.berobo.com
_________________________________________________
Please click the Like button to thank the user that has helped you and
please mark post as solved when you have found the solution to your problem.
Please use plain text.
Developer
BeroboInc
Posts: 123
Registered: ‎07-08-2011
My Device: Torch 9800, Bold 9700
My Carrier: Bell, Rogers

Re: Develop Backwards Compatible App

looks like you can download JDE's going back to 4.0

 

http://us.blackberry.com/developers/javaappdev/javadevenv.jsp

 

Berobo Inc.
Police Scanner Radio / Alarm Clock lets you listen to Police scanners in your area!
http://www.berobo.com
_________________________________________________
Please click the Like button to thank the user that has helped you and
please mark post as solved when you have found the solution to your problem.
Please use plain text.
Developer
juanmab
Posts: 94
Registered: ‎07-08-2011
My Device: Many

Re: Develop Backwards Compatible App

I'm developing some app for the range between 4.5 and 7.

In order to acomplish that I use preprocesor so most of the app is common for all versions and only a few more line codes have to be added.

Testing takes a bit longer so you can check that all resolutions displays correctly, that fliping the phone doesn't affect it in a bad way and that the usability es correct for touch and non-touch devices.


Feel free to press the like button on the right side to thank the user that helped you.
Please mark posts as solved if you found a solution.

Juanma 

@juanmab

Please use plain text.
New Contributor
bpappin
Posts: 3
Registered: ‎09-15-2011
My Device: Several
My Carrier: Fido

Re: Develop Backwards Compatible App

Yes you can, but they are broken if your on OSX.

I've managed to get it to allow me to use the 5 SDK but replacing the bin directory, but I don't have any edidence that its going to work yet.

 

I hate how I have to hack a development tool to get it to do something it should already be able to do.

Please use plain text.