android - Unable to create Database for content providers -


my application has database has exposed global search. have sqlite database raw file. trying copy database file databases directory in project throws filenotfoundexception. guessing permissions issue.

my application similar searchable dictionary problem since have around 2000 records, taking around 15-30 seconds populate database. have way tell user data loading. decided use sqlite database can copy databases directory of project in oncreate method of databasehelper class.[extends sqliteopenhelper].

now use same method copy actual application database , works fine. may because running in same process.

how can copy database databases dir or need copy to?

thank you.

i don't believe possible.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -