I wasn't able to get it working perfectly.
I could see the values if I put a watch, but I couldn't access the individual axes from the Cartesian, and didn't have time to work on it any further at the time.
I ended up doing it …
Also, I just tried running your FreeFall detector project straight out of GitHub.
I got a NullPointerException when I tried to press Start.
Attempt to invoke interface method 'void com.mbient.metawear.module.Accelerometer.enableAxisSampling()'…
I am working on getting the FreeFall example working.
I have got a connection going and I am at the point where I am subscribing the route manager.
When I call the routeManager,subscribe(ACCEL_DATA, new RouteManager,MessageHandler…
I was still getting errors with the C++, I think it may be to do with the compiler flags.
Xamarin automatically creates C# wrappers from the AAR library.
I found something in the Xamarin documentation that helped me solve the interface issues.…
I tried adding those compiler flags and am still getting errors.
in metawearboard.cpp 243: "cannot use typeid with -fno-rtti" for ARM
"metawear/core/datasignal.h' file not found in datasignal.cpp" for ARM64, x86
On your last remark, it says…
I have a better idea of what type of files I need for it to work.
For Android, I need to build the C++ source code into a Dynamic Library (.so) and for iOS: Static Library (.a) for each type of ABI that each of the phones use.
To be honest, I haven't built a C++ project from an external source before and am not sure of the exact process in Visual Studio.
I added a C++ Win32 project to my solution. Application type DLL? Unchecked Precompiled header.
Properties -> …