Skip to main content

Posts

Sq-Lite and ListView(I) -   Android Tutorial This tutorial explain with the simple application which explains,                - How to create sq-lite database                - How to insert data into sq-lite database                - How to retrieve the data from sq-lite and display it in ListView                - Using SimpleCursorAdapter (Just to set list) ****screenshots uploaded shortly**** To create this simple application do the following:- To create sq-lite database Create the class with the name  DBHelper   with extends  SQLiteOpenHelper   and copy the following coding public class DBHelper extends SQLiteOpenHelper {    private static final int DATABASE_VERSION = 1 ;    private static final String DATABASE_NAME = "todorecord.db" ;    public static final String USER_NAME = "username" ;    public static final String PASSWORD = "password" ;    public static final String ROW_ID_FIELD = "_id" ;