Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread Kumar Bibek
You might want to show more of your logs. There's probably some error while creating your database. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Jun 5, 2012 at 10:08 PM, shengJie b0091...@gmail.com wrote: Sorry guy my database table can't

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread shengJie
06-05 16:14:05.703: E/AndroidRuntime(353): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.NursingcareSystem/com.NursingcareSystem.Care_ALL_intent}: android.database.sqlite.SQLiteException: no such table: record: , while compiling: SELECT name FROM record 06-05

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread shengJie
i think the problem is my table can't be build that make my query compiling stop -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread Kumar Bibek
Try changing strings to text... *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Jun 5, 2012 at 10:27 PM, shengJie b0091...@gmail.com wrote: i think the problem is my table can't be build that make my query compiling stop -- You received

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread Kumar Bibek
Uninstall your app. Run it again, and get the logs. On Tuesday, 5 June 2012 22:27:16 UTC+5:30, shengJie wrote: i think the problem is my table can't be build that make my query compiling stop -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread shengJie
tks for trying to fixed my problem -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread shengJie
i uninstall my app an i clean up my project ===log 06-05 17:09:29.311: D/dalvikvm(2147): GC_EXTERNAL_ALLOC freed 43K, 53% free 2546K/5379K, external 1815K/2137K, paused 75ms 06-05 17:11:58.091: W/KeyCharacterMap(2147): No keyboard for id 0 06-05

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread Kumar Bibek
care_IDtext not null,nametext not null,sextext not null,person_idtext not null,blood_typetext not null,smoketext,drunktext, Diagnosis_typetext,Diagnosis_bodytext,care_Diagnosistext, whatcaretext,whencareinteger,whocaretext,carewhotext,care_ locatationtext,care_frequencyte Your create table query

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread shengJie
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 =

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread Kumar Bibek
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 b0091...@gmail.com wrote: this is my query

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread rambabu mareedu
here the problem is your table not creating..first of all take 2 or 3 columns and run it ..after that extend the columns -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread shengJie
i pull out my database file and check it schema == SQLite version 3.7.12.1 2012-05-22 02:45:53 Enter .help for instructions Enter SQL statements terminated with a ; sqlite .schema CREATE TABLE android_metadata (locale TEXT); CREATE TABLE record(_id INTEGER

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread shengJie
shengJie於 2012年6月6日星期三UTC+8上午1時53分25秒寫道: then i got two table android_metadata and record sqlite .tables android_metadata record sqlite problem solved!!! tks for all i try go get rid of android_metadata and i pass it !!!

Re: [android-developers] I/Database(353): sqlite returned: error code = 1, msg = no such table: record

2012-06-05 Thread shengJie
tks for all help me to solve this problem! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to