A
AC Question
android and ListView
I am stucked in a problem from some days please help,Problem is I am using an x for a SQL query,which is getting incremented each time,and the cursor regarding this SQL is used in a ListView,as I am running the app,only one list is showing regarding the first value of x.I want the whole list regarding all values of x.Please give me a way.....
My code is somewhat like
String s="Select * from table-name where _id=x;
Cursor c=SQ.rawquey(s,null);
ListView lv;
lv.set(c);
These codes are basically giving you a idea....its not the real code....
Please help me...Thanks
I am stucked in a problem from some days please help,Problem is I am using an x for a SQL query,which is getting incremented each time,and the cursor regarding this SQL is used in a ListView,as I am running the app,only one list is showing regarding the first value of x.I want the whole list regarding all values of x.Please give me a way.....
My code is somewhat like
String s="Select * from table-name where _id=x;
Cursor c=SQ.rawquey(s,null);
ListView lv;
lv.set(c);
These codes are basically giving you a idea....its not the real code....
Please help me...Thanks