【发布时间】:2010-09-24 02:15:37
【问题描述】:
如何使用管道通道在 android 上打开和读取文件?谁能举个例子?
【问题讨论】:
如何使用管道通道在 android 上打开和读取文件?谁能举个例子?
【问题讨论】:
使用标准的 java File 和 FileInput/OutputStream 类。要掌握位置,您可以使用上下文参考
mContext.getCacheDir();
mContext.getFilesDir();
Enviroment.getExternalStorageDirectory();
【讨论】: