File sdpath = Environment.getExternalStorageDirectory();
String path = sdpath.getPath() + "/模型文件/";
File file = new File(path + strPath);
OutputStream os;
FileOutputStream fos;
try {
os = new FileOutputStream(file);
BufferedInputStream is = new BufferedInputStream(new ByteArrayInputStream(bs));
int len;
byte[] buf = new byte[1024 * 8];
while ((len = is.read(buf)) != -1) {
os.write(buf, 0, len);
os.flush();
}
is.close();
os.close();