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
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
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
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);
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
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
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
7 matches
Mail list logo