I get an error "can not resolve the method" with the line of code:
FileInputStream fis = openFileInput(fileName);
I'm not in acitivty. I am in a separate class, so I assume this will not work. I tried to do such things, but they still give me a way to "not allow" Error:
FileInputStream fis = getApplicationContext.openFileInput(fileName);
Thanks for any help, I am new to Android development.
source
share