S
S
sermal2013-06-04 13:51:14
Programming
sermal, 2013-06-04 13:51:14

How to get accelerometer data on Windows 8 in C#?

Hello.
There is a tablet with full Windows 8 . It is required to receive data from the accelerometer. I would like to get data, for example, as for Windows Runtime applications in the Windows.Devices.Sensors namespace .
How can this be done in a normal WPF\WinForms\Console application?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
ertaquo, 2013-06-04
@sermal

Look here: http://www.cprogramming.com/appup9.html . Only here are examples in C ++ and with COM, but if you wish, you can rewrite it in C #.
Or here: www.hanselman.com/blog/HowToCallWinRTAPIsInWindows8FromCDesktopApplicationsWinRTDiagram.aspx

S
Singerofthefall, 2013-06-04
@Singerofthefall

Perhaps this example from msdn will help you .

E
Ethiopian, 2013-06-04
@Ethiopian

I hope it helps: click
Sorry, I was inattentive. There too Runtime.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question