08-22-2012 05:50 PM
I have a simple app compiled with NDK2.1 using imglib. When I deployed to the PB OS2.0 it will not run.
Are apps compiled with NDK2.1 work on OS2.0 as long as I do not use 2.1 specific API?
08-24-2012 11:19 AM
Yes, they should.
08-28-2012 11:41 AM
Hi Smiley, can you provide a little bit more detail on the error you are getting when you run the application? is there an error code or number listed in the playbook notification area?
Cheers
Selom
08-28-2012 12:29 PM
There wasn't any error msg when I run on v2.0.
I think i might be using som 2.1 beta api.
I wish the api doc would indicate which OS it supports like the java apis.
08-29-2012 01:23 PM
smiley wrote:
There wasn't any error msg when I run on v2.0.
I think i might be using som 2.1 beta api.
I wish the api doc would indicate which OS it supports like the java apis.
Great feedback. I'll pass this along to our development team.
The compatibility model is the same as what was used on previous BlackBerry OSes. Applications built in version XYZ of the BlackBerry NDK should run on an OS with the same version or higher. Applications built in a higher version of NDK compared to OS version are not supported.
08-29-2012 02:09 PM
Thanks Mark. The other problem is that there were no errors when I run the app on OS2.0. On BBOS Java it would say class xxx not found and quits.
Another question. Will my NDK OS2.1 apps run on BB10 or do i need to recompile with BB10 SDK?
I do not have the BB10 dev unit to test with.
08-29-2012 02:22 PM
Actually if your app on the device can't find some functions (it was compiled with) LD will complain about missing symbols. Did you check your app log?
08-30-2012 09:33 AM
We're planning to support applications built with the 2.x NDK on BlackBerry 10. It's not fully there yet with the current BlackBerry 10 Dev Alpha releases, but will be coming soon. From a developer's point of view, the main change there would be screen resolution. If you application can adapt to the different screen size you should be good to go.