I have a db that is created like this...
public class DataBaseManager extends SQLiteOpenHelper{ Context mContext; private static final String TAG =
Your query String is wrong
String selectQuery = "SELECT "+colID+ " FROM " + allScreens + " WHERE " + colName + " = '" +name + "'";
the name you give in where should be in single quotes