How to retrieve data from datatable android
its not working giving error . why ?
String query = "Select * from DOMICI "
+ " SEG ="+seg.getText().toString()
+ " And UNIDADE ="+ubs.getText().toString()
+ " And AREA ="+area.getText().toString()
+ " And MICROAREA ="+microarea.getText().toString()
+ " And IMOVEL ="+imovel.getText().toString();
Cursor c =my.rawQuery(query,null);