Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Rohan Vaikkath
Rohan Vaikkath
348 Points

Motion sensor android app using Sqlite!!

I want to make a simple Android app which can obtain the orientation data of an android device with built-in motion sensor,

store it in SQLite database which will be locally available on the device, when there is no internet connection.

Furthermore, send those recorded sensor data to a web server using the given web service whenever device has internet connection available.

I also need to put “start/stop” button for recording the sensor data for a period of time. In other words, the user can tap on the Start button to start collect and record the sensor data until the Stop button is tapped.

I would appreciate if any help can be provided on this topic, or from where i should start and if any tutorials are available which will help me with this.

Thank You!