开发者

Android: Pipe channels

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜