Search code examples
c#windows-mobile-6.5motion-detectionmotorola-emdk

Accessing Motorola MC9500 motion sensor programmatically?


I am currently working on a windows mobile application for Motorola MC9500 which has Windows Mobile 6.5. I have tried Symbol's EMDK library to access inbuilt motion sensor of the device without any luck.

The EMDK for .NET v2.7 has Symbol.Sensor class library in it which is supposed to be accessing all inbuilt sensors, but I have no idea how to work with it.

Symbol.Sensor.SensorManager manager = new Symbol.Sensor.SensorManager();

I get a MissingMethodException exception here, saying... "Can't find PInvoke DLL SensorsAPI.dll."

What should I do to access the motion sensor using C# ?

If there is any other alternative, please tell.


Solution

  • Well this is the conclusion I reached so far... The sensors of Motorola MC9500 is not programmatically accessible.