[android-developers] Re: Insertion,deletion & updation on SQL database in android

2011-08-12 Thread Avtar Guleria
Code for Insertion: /** * called to insert data in table. * */ public void insertFavCinema(int cinemaId, String name, String url, String lat_long, String numberOfMovies, String phone) { // Log.d(TAG, "Inserting fav cinema with cinema

[android-developers] Re: Insertion,deletion & updation on SQL database in android

2011-08-11 Thread Peter Stacey
http://developer.android.com/guide/topics/data/data-storage.html#db This will help as a start. Then the following sample will demonstrate the basics for you: http://developer.android.com/resources/samples/NotePad/index.html But there are plenty of good books available that go into more detail