Código:
Muchas gracias de antemano, saludos!! public class passwordSQLiteHelper extends SQLiteOpenHelper{ String SqlCreate = "CREATE TABLE password(id INTEGER, name TEXT, password TEXT)"; public passwordSQLiteHelper(Context context, String name, CursorFactory factory, int version) { super(context, name, factory, version); // TODO Auto-generated constructor stub } @Override public void onCreate(SQLiteDatabase db) { // TODO Auto-generated method stub db.execSQL(SqlCreate); } @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { // TODO Auto-generated method stub db.execSQL("DROP TABLE IF EXISTS password"); db.execSQL(SqlCreate); } } passwordSQLiteHelper passUserDb = new passwordSQLiteHelper(this, "password", null, 1);