tags:

views:

14

answers:

1

How can i use a pipe channel to open and read a file on android? Can anyone give me an example?

A: 

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();
schwiz