InputStream myInput = myContext.getAssets().open("MyFolder/" + "MyFile.db3");
I have a file in the assets folder in a sub folder as above. It doesn’t get the file though, is there a special way to specify a sub folder in the assets folder?
Ian
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit: was wrong about subfolders.
This code works just fine on 1.5 (for a file
sample.txtplaced undersubfolder inassets):Are you sure you’ve got the names right?