Android: taking a picture without calling local Camera app - android

I am trying to create a app with which you can take secretly a picture. So my goal is to capture a picture when a button is clicked and then save the taken picture in the gallery without calling the local Camera app.
Thank you for your answer in advance...

If you want to conceal the application then I suggest you to look at this link
android - use camera without surfaceview or textureview.
This shows how to conceal surface textures.

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.

open camera with very small preview window and automatically takes picture- android

I'm working on a application and i want to take the picture of the user automatically with front camera without opening the camera or with a little preview.I can take the picture but the user have to click the button but what I want is it takes picture automatically. I've searched a lot about this but I was unable to get some useful tutorial or code.I
Using the camera API you can achieve this.
Look at this like http://www.vogella.com/tutorials/AndroidCamera/article.html

Camera: How to get image brightness while taking a picture?

I am making an application where the user has to be suggested about the quality of the picture he is about to take.
Like "Brightness is low" and "Your environment is dim".
To achieve this, we need to put an overlay message on the camera preview while the user is viewing the subject.
Does anyone have an idea on how could we take the image brightness from the camera preview by using sensors or some other way in live mode even before the picture is taken?
Any help would be appreciated.
Using the camera parameters as pointed out by #appleskin, would either of these methods help? setWhiteBalance() or setExposureCompensation().If you want to achieve this functionality at run time then use native NDK effect for brightness.you can easily got .so files from github just use according to your further requirement.

Use front camera with built in camera app

In my app, I'm using the built-in camera app to take pictures.
The thing is that this interface has a button to change camera ( to front) and when I take a picture with front picture, it is not working anymore.
So, Is there a way to take picture fromt front camera with built-in camera app.
If it is not posible, is there a way to remove the icon from built in app???
Any suggestion will be appreciated!

How to get current frames as image from camera?

Hello im trying to make my own special custom code scanner. My app's render a special custom barcode and I need to make a very simple scanner that will take whats currently being seen with the camera and quickly process it to decode the barcode. So how can I grab the frames from the camera and use them as images without pressing the "take" button.
check the open source project. It give bar-code without click take photo button.
Link
Thanks

Categories

Resources