08-05-2013 05:57 AM
I'm interested in writing an extension for some software that will be deployed to both a BB10 and OS7 device. I was wondering if it was possible to package the native code for each platform into one extension so I can then use it in a project without having to include two extensions. Ideally I would like to include the extension into the project and leave the webworks code untouched for each platform and then let the compiler decide whether to use BB10 code or OS7 code from the extension file.
Is there any way to do this?
Solved! Go to Solution.
08-06-2013 09:03 AM
I've never seen this done before... I'm pretty sure it's not possible and you'll have to write two separate extensions because natively BBOS is Java, and BB10 is C/C++.
08-06-2013 02:19 PM
Playbook OS is C/C++ and an Adobe AIR wrapper to an ANE that can talk to C/C++ bit
OS7 and lower are entirely Java
i.e. you have to write completely different extensions for each
Done OS6/7 and BB10, got lost with PB
08-06-2013 03:37 PM
08-07-2013 03:23 AM
I'd come to the conclusion that doing what Tim suggested was the neatest way of doing it. It didn't look like I could package the two codebases into one but thought that somebody might have done it!
Thanks for the help.