below is the code, currently i am using, but i am looking a way to speed up my insert and i have 100+ rows inserted on very first time... any thoughts?
public class SQLiteAdapter {
private SQLiteHelper sqLiteHelper;
private SQLiteDatabase sqLiteDatabase;
private Context context;
public SQLiteAdapter(Context c){
context = c;
}
public long insert(String empId, String name......)
{
ContentValues contentValues = new ContentValues();
contentValues.put(KEY_EMP_ID, empId);
.....................
.....................
.....................
return sqLiteDatabase.insert(KEY_TABLE, null, contentValues);
}
public void InsertReciters()
{
//currently, this is how i am doing, how can i speed up inserting the rows in to db?
//i have 100+ rows ..........
this.insert("ac123", ................);
this.insert("ac133", ................);
this.insert("ac143", ................);
this.insert("ac153", ................);
this.insert("ac163", ................);
.................
.................
}
}