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.
↧