Sample code for data storage for Android