In the code below I created a new text file. I am having trouble locating where this file is and I need the actual file path of this file so I can upload to a ftp server. Can someone please help me ?
Note: I am testing this app on an actual phone and I would like to physically find the file.
Thanks !
try
{
final String testString = new String("Hello");
FileOutputStream fOut = openFileOutput("samplefile.txt", MODE_WORLD_READABLE);
OutputStreamWriter osw = new OutputStreamWriter(fOut);
osw.write(testString);
osw.flush();
osw.close();
}
catch(IOException ex)
{
}