I know how to get the external storage we use:
String file = Enviroment.getExternalStorageDir();
Now I want to write my files on phone storage by using FileWriter
and DataOutputStream
.
Is it possible? How?
String MEDIA_PATH = Environment.getExternalStorageDirectory().getPath() + "/";
这用于从设备的外部和内部存储中获取文件
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.