爱玺玺

爱玺玺的生活日记本。wx:lb87626

android读取sd卡xml文件

//读取到sd卡xml并获得字节流

File path = new File(Environment.getExternalStorageDirectory(),"backupsms.xml");

//FileInputStream fis = new FileInputStream(path);

InputStream inputStream=new FileInputStream(path);

System.out.println(path.toString());

发表评论:

Powered By Z-BlogPHP 1.4 Deeplue Build 150101

Copyright Your WebSite.Some Rights Reserved.

蜀ICP备11021721号-5