Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Updated 21-Jun-13 1:14am
v3
Comments
CHill60 14-Jun-13 10:26am    
Have you tried contacting Motorola?
hemendrasharma 14-Jun-13 11:04am    
Well, I don't see any option of asking question to anyone on Motorola website.
Ezra Neil 14-Jun-13 23:29pm    
Using Symbol.Sensor would be your best way. Have you tried coding with it already? If yes show us the code.
hemendrasharma 17-Jun-13 5:44am    
Symbol.Sensor.SensorManager manager = new Symbol.Sensor.SensorManager();

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900