English 中文(简体)
自动与媒体店主见面
原标题:Take picture automatically with MediaStore Intent

我期望做的是,在纽扣地上收集图像,而不要求用户提供任何其他投入。

此时,使用<代码>的Im MediaStore.ACTION_IMAGE_CAPance aiming within my activity, which is calls when press a hton on a widget. 此时此刻,这打开了摄像机,使我能够了解情况。

然而,我所期望的是,当用户向纽特州宣传植被时,情况就会直截了当,对被抓住的形象进行了预估。 因此,这基本上自动抹去了照片,而用户无需做任何事情。

我直接利用“照相机”,使用<密码>SurfaceView等舱,以掌握图像并打上<条码>PictureCallback等,这样做是我为什么要这样做的,不过图像质量很低,我无法说明如何改变。

So I guess I m looking for an answer to either of those two problems, or both if anyone knows them.

首先,使用类似于<条码>的某种东西是存在的。 MediaStore.ACTION_IMAGE_CAPTION aiming to snap the Khodps, without Request theuser to take the Profile.

或者说,我如何能够提高直接使用摄像机(camera.takePicture(shutterCallback, preCallback, jpegCallback)的图像的质量和分辨率;以及所有这些业务。

任何帮助都会受到高度赞赏。

最佳回答

http://developer.android.com/vis/android/hardware/Camera.html#autoFocus%28android.hardware.Camera.AFoutocusCallback%29”rel=“nofollow”>autofocus?

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签