Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Trying to makee an alarm app with wpf and unable to use the accelerometer

$
0
0

Im doing this for fun really. But I've ran into some trouble: I want the user to be able to turn the alarm off by shaking his tablet. The reason im using a wpf app is because I need administrative access to use the power APIs that I want to use to make the app run in the background and it is my understanding that this cant be done in a metro app.But the problem is I am unable to find a way to use the accelerometer in a wpf app. Is there anyway to do this? Maybe with a Nuget package or something. Also while your at it can you explain to me what Nuget is? Thank you so much for your future help.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>