This sample code illustrates how we can use Android SQLite Database to store data in Android. Following example will give output as Saranga/22 since I have created a text view and set the out put to it. If you want to add your own fields, first drop the existing table using given source code.
Tested with Android 2.3.3 Platform SDK.
If you are interested please refer Android User Interface Design to learn simple way to Designing interfaces.