Re: [android-developers] SQLiteDatabase exception on query

2011-08-04 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your exception. On Wed, Aug 3, 2011 at 3:49 PM, Mobileschizo wrote: > Why is this causing an exception? > > String[] col = new String [] {"id"}; > String sel =  "firstname=? AND

[android-developers] SQLiteDatabase exception on query

2011-08-04 Thread Mobileschizo
Why is this causing an exception? String[] col = new String [] {"id"}; String sel = "firstname=? AND lastname=?"; String[] selArgs = new String[] {"John", "Smith"}; query("persons", col, sel, selArgs, null, null, null) -- You received this message because you are subscribed to the Google Grou