I have the below code:
ArrayList NumList = getIntent().getParcelableArrayListExtra ("name");
ArrayList<String> results = new ArrayList<String>();
SQLiteDatabase sampleDB = null;
try {
sampleDB = this.openOrCreateDatabase(SAMPLE_DB_NAME, MODE_PRIVATE, null);
sampleDB.execSQL("CREATE TABLE IF NOT EXISTS " +
SAMPLE_TABLE_NAME +
" (FirstName VARCHAR);");
sampleDB.execSQL("INSERT INTO " +
SAMPLE_TABLE_NAME +
" Values (NumList);");
What I am trying to do is to pass the NumList into the table. The above code shows an error saying "no such column: NumList)" How would I pass this information through?