开发者

Android: Pipe channels

开发者 https://www.devze.com 2023-01-17 22:04 出处:网络
How can i use a pipe channel to ope开发者_JAVA百科n and read a file on android? Can anyone give me an example?use the standard java File and FileInput/OutputStream classes.To get a handle on locations

How can i use a pipe channel to ope开发者_JAVA百科n and read a file on android? Can anyone give me an example?


use the standard java File and FileInput/OutputStream classes. To get a handle on locations you can use a Context reference

mContext.getCacheDir();
mContext.getFilesDir();
Enviroment.getExternalStorageDirectory();
0

精彩评论

暂无评论...
验证码 换一张
取 消