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
Developer
Posts: 137
Registered: ‎12-22-2010
My Device: Curve 8520
My Carrier: Software Developer

SDK and OS compatibility

Hi, I have a really essential question about SDKs and OSs.

 

Is it possible to create application for OS 5 with the SDK 6.

I think it isn't possible with SDK 7 because it's based on qnx systems, isn't it?

 

But how can I find out whats the right SDK version. Is the SDK version corresponding to the OS major version? Can I run my SDK 5 applications on OS 7/qnx?

 

regards

 

Levi

Developer
Posts: 1,806
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.3253, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: SDK and OS compatibility

BlackBerry OS is forwards compatible. This means if it works on an older OS, it will work on a newer OS.

 

So an app built with 5.0 will work on 5.0, 6.0 and 7.0. An app built with 7.0 will only work on 7.0 (right now).

 

You cannot make an app with 6.0 and have it run on 5.0, even if you only use 5.0 classes.

 

Also, 7.0 is not QNX based.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Developer
Posts: 78
Registered: ‎05-17-2012
My Device: 9900 - OS 7.0 Torch device
My Carrier: Reliance

Re: SDK and OS compatibility

Hi All,

I have added Forpost6.0.0 jar file, while it is running in 9810 which has OS7.0, its throwing 'NoClassDefinitionFound' Error. May I know the reason behind. Please let me know with detailed explanation.
Developer
Posts: 78
Registered: ‎05-17-2012
My Device: 9900 - OS 7.0 Torch device
My Carrier: Reliance

Re: SDK and OS compatibility

Hi rcmaniac25

I have used forPost6.0.0 jar to build the application and I am been running 9810 OS7.0 device, But I am getting 'NoClassDefFoundError' . Can you please suggest me what to do.
Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: SDK and OS compatibility

What class is this for?

Developer
Posts: 78
Registered: ‎05-17-2012
My Device: 9900 - OS 7.0 Torch device
My Carrier: Reliance

Re: SDK and OS compatibility

Hi Peter !

This is for advertising service. I have used, Banner Class to display the adds in my device. Moreover, now I am using tail zonalId : 31848. I have tried by building the app by using jre6.0 and jre7.0 as well, but in both the builds, I am getting the same error. I am testing this in 9810 device.
My code snippet :
public AdDemoScreen()
{
Banner bannerAd = new Banner(31848, null);
bannerAd.setMMASize(Banner.MMA_SIZE_EXTRA_LARGE);
add(bannerAd);
}
Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: SDK and OS compatibility

Not used this SDK myself, but do you have to include it in the build you put n device.  I don't think it is there by default.  Check the SDK documentation. 

Developer
Posts: 78
Registered: ‎05-17-2012
My Device: 9900 - OS 7.0 Torch device
My Carrier: Reliance

Re: SDK and OS compatibility

Hi peter

I am following the SDK document which was provided along with .jar files, If you download adservice sdk, you will be getting different .jar files along with other .cod, .alx files w.r.t OS.
I am testing this as demo app where I have used OS6.0 compatable .jar file, To display the adds and to integrate this service in third party application, we need to add this .jar file. I am just using the demo specified lines of code but still its giving 'NoClassDefFoundError' in device .

Here My doubt is, Do I need to use any extra .jar files along with ? or My device should be compatable with any ? Since I am using 6.0 jar file, It should support in 7.0 devices as well.

Can you please get detailed me if anything with you.
Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: SDK and OS compatibility

Developer
Posts: 95
Registered: ‎01-25-2010
My Device: 9530

Re: SDK and OS compatibility

[ Edited ]

 Hi vjkmr,

 


Can you please explain how you installed applciation on device?

 

Problem you faced its seems to happen when you used third party jar file in application  but not  installed it with aplicaton in device.

 

Please search about UpdateJad tool to merge multiple code file.

 

Thanks