Q:

Fastest way to insert values to android sqlite database

I want to create a database, and fill it at the start of application. It will remain same and will never change. There will be like 1000 entries. What is the good way to do this?
I created the table so far, but now i have to fill it with 1000 entries. Is there an UI for it?
public void onCreate(SQLiteDatabase db) {
            // TODO Auto-generated method stub
            db.execSQL("CREATE TABLE "+TABLE_NAME+" ("+
            UID+" INTEGER PRIMARY KEY AUTOINCREMENT, "+
            USER_NAME+" TEXT NOT NULL, "+
            USER_TYPE+" TEXT NOT NULL, "+
            USER_CLASS+" TEXT NOT NULL);"

        );

A:

Several ways to improve the performance:
As Tsunaze suggests, you should do this in another thread, you can check AsyncTask which is the "default" tool provided in the SDK to do this.

Consider using transactions:
db.beginTransaction();
for(...){
    db.insert(...);
}
db.commit();

In this way you will only write to the database when you finish inserting all the values, speeding up the process.

Do massive inserts:
insert into table
select value1X, value1Y, value1Z
union all
select value2X, value2Y, value2Z
union all
select value3X, value3Y, value3Z
union all
select value4X, value4Y, value4Z

