SQLite commitUpdates

Put your problem here if it does not fit any of the other categories.

SQLite commitUpdates

Postby yyouf » Mon Feb 18, 2008 12:39 pm

Hi all !

I need to use the commitUpdates method of the Cursor class, but the log tells me that my cursor is not updatable.
Here is my code :

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. mCursor = mDatabase.query(tables, columns, selection, null, null, null, null);
  3.  
  4.  
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


When i call the supportsUpdates() method, it allways returns false, and i don't know how to make my cursor updatable.

Thanks for your answers
yyouf
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Feb 18, 2008 12:01 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 19 guests