Android, Reference file in src
This is my simplified folder structure
src
folder1
folder2
file1.xml
folder3
file2.java
What is the correct path to give etc. a fileInputStream in file2.java to
read file1.xml?
Tried
"/folder1/folder2/file1.xml"
no luck, Classloader error.
No comments:
Post a Comment