我自己开发了一个拍照程序,程序里面我用的是camera.setOneShotPreviewCallback()这个方法。这样我得到的图片大小大概是400多KB。而我手机里预装的相机,拍照后得到的图片大小是1.4MB左右!
请有经验的同仁,帮忙解决下,给点相应的提示页可以!
我先在这里多谢了,多谢!
请有经验的同仁,帮忙解决下,给点相应的提示页可以!
我先在这里多谢了,多谢!
解决方案 »
- android图片按手势进行移动
- 重复设定闹钟的问题
- 关于contentprovider
- 视频分辨率获取MediaMetadataRetriever
- android自动播放的实现。
- 背景透明
- android 系统的defaults.xml在哪
- LayoutInflater 和 for循环问题
- 判断notification是否被点击
- sqlite3在android studio中插入数据报错
- “rtsp://ip:port/XXXX.sdp”谁知道这个格式的URL是如果搭建成的!
- android 自定义ListView布局中动态加入几个TextView控件, 如何获得每个TextView来单独改变某一个TextView的文字颜色啊 。
Sets the dimensions for pictures.Applications need to consider the display orientation. See setPreviewSize(int, int) for reference.Parameters
width the width for pictures, in pixels
height the height for pictures, in pixels
See Also
setPreviewSize(int, int)