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

Native Development

Posts: 93
Registered: ‎05-31-2012
My Device: BlackBerry Playbook
My Carrier: Bell

Compile and runtime backwards compatibility with BB10 and PBOS.

Hello BB Dev forums,


We're migrating our codebase to BB10 from Playbook and would like to maintain code baclwards compatibility.both for compiling against mutiple NDK as well as runtime backwards compatibility.


In terms of compile time compatibility, does anyone know where/what the defines are for a given NDK version? Can't seem to find them anywhere.


in terms of runtime compatibility, since system functionality is dynamically linked, is it sufficient to have a runtime construct of type

if( OSVersion >= 10.0 )


     ///BB10 new functionality.



Are there additional weak linkage flags we need?