05-31-2012 12:00 PM
I would like get gravity information on BB10 platform. I included <bb/device/Gravity>, and I claim using namespace bb:device;
when I declare
Gravity* mGravity = new Gravity();
it returns a compile error that undefined reference to 'bb::device::Gravity::Gravity()'.
Is anyone can tell me how to fix this? Many thanks!
Solved! Go to Solution.
05-31-2012 05:11 PM
Thanks for your reply. The problem solved since I need to add -bbSensors.so to the lib and recompile. I appreciate your help! BTW, can I get Wifi information using Cascades? I browsed the API classes, but I did not find a function that can get wifi information.
06-01-2012 08:26 AM - edited 06-01-2012 08:26 AM
Sorry for not realizing that. I should have checked the other sensors; I thought the library was already built into the build. Thanks for letting me know.