鍥炲: How to DROP a Database in Android ?

by 鐜嬪績閿 » Thu, 13 Aug 2009 07:58:32 GMT


Sponsored Links
 If u wanna delete a tables. Use the drop sql in upgrade method in
sqlitehelper sub class

2009-8-13 7:52 AMquot;Emre A. Yavuz" <eayl...@hotmail.com> 


Hi,

Does anybody know how to DROP a database in Android ?

I've tried ContextWrapper.deleteDatabase(), mDb.close(), mDbHelper.close()
etc. methods with no luck so far. I tried to remove it using the shell, but
I don't have the permission to do it. I was able to drop the TABLES etc. in
the database that I had created but nothing further than that.

Any help is appreciated.

Cheers,

Emre

------------------------------
More storage. Better anti-spam and antivirus protection. Hotmail makes it
simple. < http://go.microsoft.com/?linkid=9671352> ;

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Audio Framework Volume Change

When  i am adjusting the volumes of one of the streams being mixed,how
exactly does this increase/decrease in volume level is achieved in
audiomixer.cpp file(theory behind mixing for decreasing/increasing the
volume based on gains set for each of the streams)?

There is a concept of gain change and some mixing operations using
audiomixer.cpp file which i want to know for adjusting the
volume.Please clear this query.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How to remove sms notifications in status bar

Hi Bilal,
    You can use the NotificationManager cancel method.




-- 

3. High performance access on static data: What is your approach?

4. How to increase virtual keypad size in donut

5. How to fill paricular portion of text content with chosen color

6. How can I access a data provider where permission is null?

7. Create an app to change lock screen?