![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
照相
tianxiagongzheng
这个作者很懒,什么都没留下…
展开
-
android--调用系统相机,显示图片
public class ImageDemoActivity extends Activity { /** Called when the activity is first created. */ private ImageView imageView; // 图片 private Button button; // 按钮转载 2014-06-10 18:13:09 · 646 阅读 · 0 评论 -
android 调用系统相机拍照 获取原图
好吧,为了这个问题又折腾了一整天。之前在网上找来的方法,如果在onActivityResult中直接用data.getData()的方式来生成bitmap,其实获取的是拍照生成的缩略图!看看尺寸就知道了。如果要获取原图,还需要一番折腾(特别是对于手里这个Samsung i9000)——之前朋友在不同的机型上使用的方法在我这里一直报错,且属于那种uncaught的错误-.- 话说回来,具体的折腾转载 2014-06-09 17:50:57 · 906 阅读 · 0 评论