This is a simple example how to implement Augmented Reality on Android device.
You can see this project running on a video: https://www.youtube.com/watch?v=zFb1NTGYhoU Example was tested on Nexus 4 and Samsung Galaxy S4. There is possibility that on different devices sensors needs to be implemented in different way.
Whole tutorial about Augmented Reality on Android you can find here: https://netguru.co/blog/augmented-reality-mobile-android