I'm trying to read from a file but i'm getting false on the check. I can't see why this is happning, The file exist i have a multible time just to be sure.
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
I also have included this in the AndroidManifest.xml file so that is not the problem either.
String filePath = Environment.getExternalStorageDirectory() + "/folder/Save.spm";
File filecheck = new File(filePath);
if(filecheck.exists() == false)
{
return false;
}
FileInputStream file = new FileInputStream(filePath);
DataInputStream input = new DataInputStream(file);
Why does android claim that the file does not exist?