Hi, I'm writing an application that will ship in two versions: Android and PC version.
Is there a simple way to access files from the shared code?
Using java.io
is simple, but I don't know how to access android resources or assets using it. And I can't write methods that operate on FileInputStream
s instead, because some files contain references to another ones, so I need a way to access them from the method code.
Any suggestions?