Here I have this code:
encuestadoSQLiteHelper encuestado = new encuestadoSQLiteHelper(this, "DBEncuestado", null, 1);
final SQLiteDatabase db = encuestado.getWritableDatabase();
String nombre = "Pablo";
db.execSQL("INSERT INTO Encuestado (nombre) " +
"VALUES (" + nombre +"')");
On the line: (this, "DBEncuestado", null, 1);
error appears. I do not know what's happening, help!