Android Camera API: Way to use phone's standard button-set? - android

so I need to modify certain properties about the way this app is taking/processing a picture. Yet, I would like to just use the standard buttons that the android has for taking pictures, so that i don't have to code them all myself. is this possible when doing such with a surface view and the Camera API? like, zoom, flash, choose camera, and such

Related

Get the color of a pixel from camera intent

I am new with android studio and I have a question about camera.I have done the Take photo tutorial and now I have a button that opens my camera app. I want to take the color of a pixel from the camera app without saving the picture.
It is possible or I need to make camera API in order to take that color?
Any suggestion or tips about how I can make this project are welcomed.
Android camera intent either saves an image file, or it is cancelled. You need camera API approach to catch pixels without creating files. You can use a library like fotoapparat to wraps the tricky API for easy usage.

Customize the default Android Camera preview screen?

I am working on an Android app mainly based around the camera of the device. I am able to launch and use the Camera Intent but I would like to know if there is a way to customize this camera screen. I mean, for the moment, the camera preview screen displays all the settings of the camera, I would like to be able to hide them. If possible, I would also like to add new buttons on this screen, so I could launch popups or display a message to the user. Is it possible or should I try to use an external library which handles that ?
Basically, I would like to have a camera screen which would look like the one from the Snapchat Android app.
Thanks!
I would like to know if there is a way to customize this camera screen
No. After all, there are several hundred possible applications that you could be launching, and none of them have to offer any sort of API for the control that you want.
I would like to have a camera screen which would look like the one from the Snapchat Android app.
Then use the camera APIs directly (e.g., android.hardware.Camera) and write your own camera app.

Android camera: general ghosting issues

I am developing an android camera app. The camera pictures are later processed by OCR, so the picture must be as sharp as possible.
If you shake the camera, it looks as if the digital camera overlays multiple images, to create the effect of motion blur:
Example 1: http://i.stack.imgur.com/nqrmd.jpg
Example 2: http://i.stack.imgur.com/ZBx6F.jpg
If you examine the pictures closely, the motion blur looks to consist of 2 or 3 images taken in quick succession and blended together to simulate light exposure. I understand that this amounts to the way digital cameras work.
But I'd prefer having a single crisp image rather than a properly exposed one. The app can use histogram corrections to make the text readable again for OCR. The image does not have to appeal to the human eye.
Is there a way to better control the camera to get these sort of raw image snapshots?
I had some limited success using the "Action" scene mode on the camera. Not much, but it's as far as you can get.

Android custom camera overlay without rewriting camera?

I have been struggling with creating a camera preview with a custom layout/overlay that mimics the functionality of the native camera app.
Is there any way I can simply constrain the size of the native camera preview and possibly overlay a grid image on top of it without having to fully rewrite all of the camera's functionality?
No. You cannot hack the UI of another app, any more than another app can hack your UI.
Also, bear in mind that there is no single "native camera app". There are dozens, perhaps hundreds, across the thousands of Android device models.

Android Camera Hardware zoom

we are developing an Android App to be used on 1 of 2 Android cameras. Specifically the Nikon S800C.
We are able to use digital zoom but as yet we have not found a way of handling the hardware zoom which is the whole point of using a camera rather than a basic smart phone.
We cannot use the internal camera app as we have to make a custom camera overlay and preview screen. As such we have had to compose our own camera app.
It seems from what I have been advised it is not technically possible to control the camera hardware zoom from within our own app.
So my question is: Is this really the case? Is there absolutely no way of building a custom camera app that has a custom camera capture experience and also a camera HARDWARE zoom?
If this is the case, is there a way of creating a custom preview and camera overlay screen for the existing internal camera app on our device? Which would negate the need to build our own.
Thanks.

Categories

Resources