开发者

How to open a text file of some xyz format which is placed in the sd card in the android device

开发者 https://www.devze.com 2023-02-01 12:53 出处:网络
How to open a text file of some xyz format which is placed in the sd card in the android devi开发者_C百科ce, if anybody knows please help me.File sdPath = Environment.getExternalStorageDirectory();

How to open a text file of some xyz format which is placed in the sd card in the android devi开发者_C百科ce, if anybody knows please help me.


File sdPath = Environment.getExternalStorageDirectory();
File textFile = new File(sdPath, "textfile.xyz")

from there use the common Java IO streams.

Check also the examples coming with the Android SDK.

0

精彩评论

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