I have still the problem. I read at
I made this for myself and it works
I created a class named fro example dbFile
public class DbFile {
static Cursor getAll(SQLiteDatabase db) {
return(db.rawQuery(SELECT * FROM TableName ORDER BY ColumnName,
null));
}
}
and from my activity class i declare
Cursor model=null;
and on create i call:
Hi, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ yes it solves my problem. But I don't understand
what earlier query not work.
On Nov 22, 4:28 pm, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ plia...@gmail.com wrote:
I made this for myself and it works
I created a class named fro example dbFile
public class DbFile {
static Cursor
If you work on Eclipse try to read carefully the Console and logCat window,
maybe there you'll find the answer
Στις 22 Νοεμβρίου 2010 1:38 μ.μ., ο χρήστης pramod.deore
deore.pramo...@gmail.com έγραψε:
Hi, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ yes it solves my problem. But I don't understand
what earlier query
Ok, Thanks for your help.
On Nov 22, 4:54 pm, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ plia...@gmail.com wrote:
If you work on Eclipse try to read carefully the Console and logCat window,
maybe there you'll find the answer
Στις 22 Νοεμβρίου 2010 1:38 μ.μ., ο χρήστης pramod.deore
deore.pramo...@gmail.com έγραψε:
I had also tried as
Cursor c = sampleDB.query(SWITCH_TABLE_NAME, new String[]
{SwitchID,SwitchName,RoomID,RoomName}, RoomID=
,null,null,null, ASC);
But still it is not working.Any clue?
On Nov 22, 9:13 am, pramod.deore deore.pramo...@gmail.com wrote:
Hi ,
I have a
6 matches
Mail list logo