public static final String SCORE_SORT_ORDER =3D "score DESC"; //orderBy public static final String TEN_LIMIT =3D "10"; //limit
SQLiteDatabase: query (String<http://developer.android.com/reference/java/lang/String.html>table, String[] <http://developer.android.com/reference/java/lang/String.html>columns, String <http://developer.android.com/reference/java/lang/String.html>selection, String[] <http://developer.android.com/reference/java/lang/String.html>selectionArgs, String <http://developer.android.com/reference/java/lang/String.html>groupBy, String <http://developer.android.com/reference/java/lang/String.html>having, String <http://developer.android.com/reference/java/lang/String.html>orderBy, String <http://developer.android.com/reference/java/lang/String.html> limit) On Thu, Jul 23, 2009 at 10:00, shoume <[email protected]> wrote: > > I needed to create a high score table. > I looked everywhere but couldn't find any tutorial on that. > please help me if you could, > I looked at SQLiteDatabase but that seemed too complicated. > I am seeking something simpler and easier. I'm trying to make a > table.just displaying data. it asks the user to insert his name and > shows his name and a given score already calculated. where it only > shows the highest 10 scores. > > any advice how to go about that? > > thanks in advance > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

