On Thu, Dec 16, 2010 at 9:20 AM, cuil yahoo <[email protected]> wrote:
>> Also, I doubt that you can use a file:/// URL to open a database.
>>
> Could you help me out with the statement ? I am searching for the same.

Your path has to be on the file system, not a URL.

>  Where else should i copy the database?

Use getDatabasePath() to build a good path for the database, then copy
the file to that path.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
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