"files" vs. "databases" shouldn't really matter, wrt. to being able to open the database.

But, are you sure that the path is correct?

The sample code for this that I'm seeing on the 'net often has hard-coded paths, which is wrong.

Try calling Context.getDatabasePath() somewhere in your code and check the result.

-- Kostya

06.07.2011 18:12, NikolaMKD пишет:
Kostya, when I try to copy the databases directory which come in the
application as asset to data/data/package/databases, I got error that
says the file is crypted or is not a database, whenever I try read/
write.

How can i workaround this?


--
Kostya Vasilyev

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to