How to use Windows Phone accelerometer

Guys, can you help me?

Someone can put a piece of code demonstrating the functionallity of accelerometer in windows phone?

I need to roll a ball over the screen.

I just figured it out days ago.
It’s just use input.acceleration

The normal input can handle the accelerometer on Windows phone, instead use particular methods to Android and Iphone