Your logs suggest that the table itself is not there. So first try to figure out why the table is not being created.
*Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Jun 5, 2012 at 11:03 PM, shengJie <[email protected]> wrote: > this is my query > i want to load all user_name and > put into a spinner > -------------------------- > Cursor c = db.query(UserSchema.TABLE_NAME, new String[]{UserSchema.NAME}, > null, null, null, null, null); > c.moveToFirst(); > CharSequence[] newlist = new CharSequence[c.getCount()]; > for(int i = 0;i<newlist.length;i++){ > newlist[i] = c.getString(0); > c.moveToNext(); > } > c.close(); > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

