I'm trying to use sqlite helper class, I have my db_map at /assets
folder. sqlite helper should copy it from there to data/data/http://ift.tt/1FKBCa3
what happens is that I get a FileNotFound exception
.
While debugging and using assetManager.list("")
. I found that I have "images"
, "sounds"
, "webkit"
files in the list. what is weird is I don't have those and only my db_map
file.
code :
AssetManager assetManager = context.getResources().getAssets();
myInput = assetManager.open("db_map");
Aucun commentaire:
Enregistrer un commentaire