background preloader

Android

Facebook Twitter

Using your own SQLite database in Android applications. Most all of the Android examples and tutorials out there assume you want to create and populate your database at runtime and not to use and access an independent, preloaded database with your Android application.

Using your own SQLite database in Android applications

The method I'm going to show you takes your own SQLite database file from the "assets" folder and copies into the system database path of your application so the SQLiteDatabase API can open and access it normally. 1. Preparing the SQLite database file. Android Application Development Tutorial - 120 - Reading SQLite Database with Cursor. Android: Disable Highlight Color Of ListView On Click. Android: disabling highlight on listView click. Customized ListView item's selection color can be changed on touching or selecting the item in the list.