String path= "aaa/cmd.txt";//SD卡中的路径,复制到SD卡中文件的名称
AssetsCopyTOSDcard assetsCopyTOSDcard=new AssetsCopyTOSDcard(getApplicationContext());
assetsCopyTOSDcard.AssetToSD(path, Environment.getExternalStorageDirectory().toString()+"/"+path);
Android 将assets中的单个文件拷贝到sd卡中
最新推荐文章于 2022-10-10 14:40:07 发布