I was just trying to make a SQL lite database in Android, I will show
you my first try...


   SQLiteDatabase database = SQLiteDatabase.create(null);
   database.execSQL("CREATE TABLE gps(longtitude Char(50),latitude Char
(50))");
   database.execSQL("INSERT INTO gps(54.555, 54.544)");
   database.execSQL("SELECT * FROM gps");
   String[] kolommen = {"longtitude", "latitude"};

  Cursor data = database.query("gps", kolommen, null, null, null,
null, null);

   Log.i("result", data.getColumnNames().toString());

But it isn't working... is there anyone who can say what I'm doing
wrong?

-- 
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

Reply via email to