views:

45

answers:

1

I have been searching for this for the past few days and every tutorial I see needs for me to use an external package. Is there anything built into the Android SDK that would allow me to create a database? I thought I saw something on it a long time ago, but I can't find anything to back that foggy memory up.

+2  A: 

Do you mean creating SQLite database? The SQLiteDatabase::openOrCreateDatabase() will create sqlite database and it's part of the android SDK:

http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html

Sun Jian
Thank you. Just by Googling "SQLiteDatabase::openOrCreateDatabase()" I found a tutorial. Thanks :)
TehGoose
Would you please accept the answer then? Just registered today and this is my first answer ;)
Sun Jian