Re: [android-developers] Re: IllegalStateException: database not open

2011-03-01 Thread Kostya Vasilyev
Yes, it's very strange - unless you subclassed SQLiteOpenHelper, the database files for both applications should be in their respective private data directories, not on the memory card. Those directories are only accessible by the application they belong to, and you can't browse them (from the

[android-developers] Re: IllegalStateException: database not open

2011-03-01 Thread Indicator Veritatis
I can answer only your smaller question: if you want to delete the database file by hand (using adb shell) you will have to 'root' your phone. Otherwise, as you already mentioned, you do not even have the permissions to even cd to that directory. On Feb 28, 7:35 pm, javaxmlsoapdev

[android-developers] Re: IllegalStateException: database not open

2011-02-28 Thread javaxmlsoapdev
Just got a chance to resume this issue. How to search the device for the database file? Apparently something really strange is going on or I am doing something wrong. Shouldn't databases be private by default? I haven't done anything special to make them public. databases aren't on the memory

[android-developers] Re: IllegalStateException: database not open

2011-02-21 Thread javaxmlsoapdev
yes. both apps are uninstalled but unable to remove database from the phone, which originally was created by app1 (and subsequently app2 used the same db name, which screwed up the things)? I also tried context.deleteFile(DATABASE_NAME); context.deleteDatabase(DATABASE_NAME);

Re: [android-developers] Re: IllegalStateException: database not open

2011-02-21 Thread Kostya Vasilyev
Each application has its own private data files, including the databases. Uninstalling should remove those. So either somehow the files didn't get removed (which is strange by itself), or else something even more strange is going on. Are the databases, perhaps, not private to the respective

Re: [android-developers] Re: IllegalStateException: database not open

2011-02-21 Thread Mark Murphy
2011/2/21 javaxmlsoapdev vika...@gmail.com: yes. both apps are uninstalled but unable to remove database from the phone, which originally was created by app1 (and subsequently app2 used the same db name, which screwed up the things)? That's not possible, AFAIK. An uninstall should remove all

[android-developers] Re: IllegalStateException: database not open

2011-02-20 Thread javaxmlsoapdev
Anyone? On Feb 15, 9:37 pm, javaxmlsoapdev vika...@gmail.com wrote: I had an existing working application which was creating a database using SQLite helper/code. In another application, which I am developing I copied app1's DBHelper code and honestly forgetting to rename the database name in