uninstall the application
On 7月15日, 下午1時07分, Saurav Mukherjee to.saurav.mukher...@gmail.com
wrote:
if have rights to the shell, then u can jus try this:
rm database name
On Wed, Jul 15, 2009 at 2:44 AM, Kumaravel Kandasami
kumaravel.kandas...@gmail.com wrote:
How to drop a database
Awesome Craig, exactly what I was looking. I will let you know whether it
worked.
Kumar_/|\_
www.saisk.com
ku...@saisk.com
making a profound difference with knowledge and creativity...
On Tue, Jul 14, 2009 at 11:36 PM, Craig supkic...@gmail.com wrote:
Just did something like this today -- mCtx is a reference to the
context --
public void deleteDatabase() {
mDbHelper.close();
mDb.close();
if (mCtx.deleteDatabase(DATABASE_NAME)) {
Log.d(TAG, deleteDatabase(): database deleted.);
} else {
Log.d(TAG,
Kumaravel Kandasami wrote:
How to drop a database in Android SDK?
AFAIK, you don't drop a database. At most, you delete its file.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
On Tue, Jul 14, 2009 at 6:17 PM, Mark Murphymmur...@commonsware.com wrote:
Kumaravel Kandasami wrote:
How to drop a database in Android SDK?
AFAIK, you don't drop a database. At most, you delete its file.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
my intention:
1. Create a database
android.database.sqlite.SQLiteOpenHelper.getWritableDatabasehttp://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html#getWritableDatabase%28%29
()
2. Create tables and insert rows.
Kumaravel Kandasami wrote:
my intention:
1. Create a database
android.database.sqlite.SQLiteOpenHelper.getWritableDatabase
http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html#getWritableDatabase%28%29()
2. Create tables and insert rows.
http://developer.android.com/reference/android/content/ContextWrapper.html#deleteDatabase%28java.lang.String%29
On Jul 15, 7:14 am, Kumaravel Kandasami
kumaravel.kandas...@gmail.com wrote:
How to drop a database in Android SDK?
Did not see any methods in
if have rights to the shell, then u can jus try this:
rm database name
On Wed, Jul 15, 2009 at 2:44 AM, Kumaravel Kandasami
kumaravel.kandas...@gmail.com wrote:
How to drop a database in Android SDK?
Did not see any methods in android.database.sqlite.SQLiteOpenHelper or
9 matches
Mail list logo