02-07-2012 09:26 AM
Hey Everyone,
I would love to get a list of all the community native extensions up on the new AIR development site. If you developed one for PlayBook and it is available to be downloaded, you can send me a private message or reply to this thread. We would link directly to your site or download page for it.
Our team have a few that we have been working on in our free time, which we plan to open source. It would be great to add community ANE's to the list as well.
Julian
02-07-2012 10:23 AM
05-25-2012 08:11 AM
jdolce wrote:
Our team have a few that we have been working on in our free time, which we plan to open source. It would be great to add community ANE's to the list as well.
Julian
I am working on an ANE for the magnetometer but I am some trouble getting it to work. See this thread:
I know that official support for sensors will be in the BB10 Air SDK, but there is huge demand for this functionality in my app right now.
I understand that you demonstrated a working ANE at JAM10. Can you tell me where the list that you describe above is located? Also can you tell me if the sensor ANE is included in the repository?
05-27-2012 05:28 AM
Hello,
I developed an extension for the Gyroscope. It is available here:
https://github.com/bezineb5/Gyroscope-Air-Native-E
Best regards,
Benjamin
05-27-2012 08:08 AM - edited 05-27-2012 08:12 AM
bezineb wrote:
Hello,
I developed an extension for the Gyroscope. It is available here:
https://github.com/bezineb5/Gyroscope-Air-Native-E
xtension-for-Blackberry
Best regards,
Benjamin
Thanks Benjamin,
I notice that you have included build scripts for eclipse. When I build this project using the internal builder of Momentics IDE v2.0 (but modified to use the magnetometer sensor), I encounter the same problem that I reported in my other thread, it builds correctly but fails at runtime. My ANE runs fine until I include even a single BPS call (even if the code is not actually executed). This leads me to believe that something is amiss with the build itself and some critical component is excluded from the so file.
Do you know of any special tweaking that I have to do when using the QNX IDE?
05-27-2012 11:39 AM
Hi,
Actually, I think I ran through the exact same issue as you:
In the end, it was just a missing linker input in order to use the bps library:
-lbps
However, I admit I don't understand why it's not visible in the code I put on GitHub - I should check that.
Best regards,
Benjamin
05-27-2012 11:52 AM - edited 05-27-2012 12:48 PM
bezineb wrote:
Hi,
Actually, I think I ran through the exact same issue as you:
In the end, it was just a missing linker input in order to use the bps library:
-lbps
However, I admit I don't understand why it's not visible in the code I put on GitHub - I should check that.
Best regards,
Benjamin
Thanks for your reply. I didn't use your build scripts because I am using the BB provided IDE. I would have thought that the bps library would already specified in the default settings.. I'm new to this.. Can someone point me to where the link libraries are manually specified. in the Momentics interface?
EDIT: I entered "bps" in the following setting path in the project properties: Settings : QCC Linker : Libraries : Libraries (-l)
.Also clicked "Open Add library Wizard: : Standard BlackBerry Platform Library : Common Services : BlackBerry Platform Services
Works like a charm
05-27-2012 12:12 PM
I'm also using the Momentics (eclipse-based) IDE. To set the library input for the linker, you have to right-click on your project, choose properties.
Go to the category "C+/C++ build" / Settings.
There, choose configuration named "[All configurations]" to set the import for all targets.
Select QCC Linker -> Libraries
In the "libraries (-l)" list, add a new item called "lbs".
Benjamin
05-27-2012 02:32 PM
I really appreciate your assistance. My ANE is working great now.
bezineb wrote:
I'm also using the Momentics (eclipse-based) IDE. To set the library input for the linker, you have to right-click on your project, choose properties.
Go to the category "C+/C++ build" / Settings.
There, choose configuration named "[All configurations]" to set the import for all targets.
Select QCC Linker -> Libraries
In the "libraries (-l)" list, add a new item called "lbs".
Benjamin