sarika india wrote:
> 
> as i am using following ::::
> 
> SQLiteDatabase.query(DATABASE_TABLE, new String[] {KEY_ROWID,
> KEY_HIGHSCORE}, null, null, null, null, null);
> 
> 
> at this point i am getting following errors :
> 
> Caused by : android.database.SQLiteExceptions : no such table
> highscore :, while compiling
> SELECT _id ,  highscore FROM highscore

Apparently, you haven't created the table yet.

You may wish to spend some time going over the NotePad tutorial, which 
includes database access if I recall correctly. Or, curl up with a good 
Android book... ;-)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to