如何访问我在 Android 设备的内部存储器中下载的文件。意思是,我从设备上的服务器下载了一个文件,但我找不到它。以及如何查看和访问它“如果我不想阅读我下载的 pdf 文件”?我正在使用 apache FTPClient API:这是我的代码 -
public void DownloadServer(View view){
try{
filename = inputfld.getText().toString();
fos=openFileOutput(filename, Context.MODE_WORLD_WRITEABLE);
client.retrieveFile("/testing/"+filename, fos);
fos.close();
client.disconnect();
}catch (IOException e) {
e.printStackTrace();
}
}
非常感谢提前,