Usually I can put an xml-file (of non-android format, the same would be if I need, f.e., to use .txt file) into my project directory and use it by
File file = new File("init.xml");
This doesn't work with android project, so I need a solution.
P.S. Asset manager doesn't work in this case, because I need to work exactly with a field of File type, but AM only provides the following method
InputStream open(String fileName);