
使用
BitmapFactory.depreStream代替
BitmapFactory.depreFile。
try ( InputStream is = new URL( file_url ).openStream() ) { Bitmap bitmap = BitmapFactory.depreStream( is );}欢迎分享,转载请注明来源:内存溢出

使用
BitmapFactory.depreStream代替
BitmapFactory.depreFile。
try ( InputStream is = new URL( file_url ).openStream() ) { Bitmap bitmap = BitmapFactory.depreStream( is );}欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)