open camera with very small preview window and automatically takes picture- android - 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

Related

Android: taking a picture without calling local Camera app

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.

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!

Capture image from both front and back camera automatically

I would like to capture image from back camera automatically(camera has to capture a image automatically without pressing the capture button after wait for 1 sec),when I click button in my android project.After this capture, front camera has to start and like to capture image automatically as like back camera.I was searched over internet but didn't get any better solution for implementing this technique in my project.So anyone please help me to achieve this technique.

Phonegap/Cordova :: Programmatically take photo

This is the first time I'm trying to take a photo using Phonegap and I've got a small issue!
I can take a photo using the cordova camera plugin which opens the default camera app on the device. This works!
However, I would like to take a photo silently. For example, show a page of text and take a photo programmatically without the preview/default camera app ever showing.
Is there a way to do this currently? I've even looked into taking a silent video in order to extract a single frame.
Something along the lines of this (Take a picture in iOS without UIImagePicker and without preview it) but within Cordova/Phonegap is what's needed.
if you want to take picture specifically or screenshot will do the work for you????? because there is already plugin available for screenshot in cordova which doesn't need user interaction.

Code to tap anywhere on screen to take photo

Does anyone know how I could code for a camera function that to take the picture the user just has to tap anywhere on the screen? I am writing the app with Phonegap in Android.
Thanks!
When you execute the navigator.camera.getPicture() method you are firing off the Intent to start the Android Camera. The Camera provides the UI to take the picture so you'll need to use their shutter button.
If you want to do the click anywhere functionality you'll need to write a plugin to provide your own camera functionality.

Categories

Resources