关于bitmap内存溢出的问题 Bitmapandriod内存溢出图片oom 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 final BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; BitmapFactory.decodeFile(fileString, options); options.inSampleSize = 16;//缩放的倍数 options.inJustDecodeBounds = false; BitmapFactory.decodeFile(fileName, options);用这个进行一个缩放,缩放的比例可以根据图片的大小进行缩放。 Android异常,在线等,求高手解决 android 远程连接电脑桌面原理,有谁知道和我说下 Android 2.3 如何编译.a的库文件 关于selector图片状态选择问题 关闭PrintWriter,socket异常,不关闭无法发送消息,为什么? 求助,如何通过蓝牙传送名片啊 谁说国庆旅游才完美,开发者有自己的选择 关于Android按键传递的问题。 连接http问题 .net开源啦,可以编安卓啦 Android Http Get一个文本文件,内容读取的不完整 webview设置cookie
final BitmapFactory.Options options = new BitmapFactory.Options();
options.inJustDecodeBounds = true;
BitmapFactory.decodeFile(fileString, options);
options.inSampleSize = 16;//缩放的倍数
options.inJustDecodeBounds = false;
BitmapFactory.decodeFile(fileName, options);
用这个进行一个缩放,缩放的比例可以根据图片的大小进行缩放。