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();
精彩评论