Just a hint: SQLite generates some pretty good diagnostic messages. I'm assuming (I've not used SQLite on Android) that the message info is in the SQLiteException. You need to print that out and report the message when asking for help.
On Jul 16, 1:31 am, Bhaban N <[email protected]> wrote: > Dear All, > I am trying to use SQLite on my application. > But I am not able to get how to use update method. > My sql statement is like this. > "update poi set visitcount=1 where cate=1 AND name='신사2점(7호)'"; > > I try to use execSQL but it has some problem so I want to use update > method. > its like > > myDB.update(table, values, whereClause, whereArgs); > what will be the values on this method parameter. > > Please suggest me if anyone has the solution. > > regards > NBS -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

