Android :: Prevent Camera Capture On Handet
Jan 7, 2010
Is it possible to write an application to prevent the Android handset from storing the capture picture? My thoughts are
a. Hook onto native camera apps and monitor for camera capture (or events). Once there is a capture event, my application will be able to detect and maybe remove the capture picture
b. Continously monitor camera capture picture storage. Are there any known i/o api l can use to do this?
c. Prevent all writes to the OS. Possible?
View 1 Replies
Jun 30, 2010
Is it possible to capture an image without showing the camera preview?, i have a requirement that i should be able to capture the image from a thread or from a service, without disturbing the foreground application, where i do not want to show the camera preview, but still i want to capture the image in background and store it in the device. So is it possible to do using the Android 2.2 SDK version?
View 3 Replies
View Related
Aug 30, 2010
I have a requirement to Capture the image without showing the Preview.. And i want to do it in the Background as a Service. Is it possible to do that?
View 2 Replies
View Related
Jan 29, 2009
Is SDK(second release) support for camera capture from desktop devices * (webcams etc). ? If no Since real device have its camera. so how should I code for appl which capture images from camera?
View 4 Replies
View Related
Aug 14, 2009
As far as i know, Android emulator doesn't have a camera. To capture a live image we have to use the web camera. I have seen code in this web site to use the web camera in the android emulator to capture an image, but I don't know how to use this code.
View 2 Replies
View Related
May 20, 2010
I noticed that after upgrading to 2.1 my camera app lost its on screen capture button (the shutter like). Is this right?
View 3 Replies
View Related
May 12, 2010
I am facing a problem; when I try to save the picture, the app will auto stop. but it does not happen everytime.
Next is the sourcecode.
CODE:...........
View 2 Replies
View Related
Aug 20, 2009
I am trying to implement Camera application in android,and i got some code from net to create a Live Camera through WebCam.Upto this no problem.Now i have to capture the images when click the button, and i displayed the captured images in the Dialog window.Without any exception the program is running but the captured image is not displayed,some default image is displayed.
My code is.
CODE:.........
I have no idea from where this default image is coming.
View 3 Replies
View Related
Aug 9, 2010
I am having a problem capturing an image and storing it from the native camera app. Here is a sample of some of my code.
CODE:.............
After the picture has been taken and I'm returned back to my original Activity, When I navigate to my sd card via Android DDMS File Explorer the picture is not there. Anyone know why this is not being saved?
View 2 Replies
View Related
Jun 11, 2009
This is the code that I have for camera preview and image capture.I am trying to do camera preview and as I press the space button I am trying to take picture and save it in the picture gallery of the Android development phone. The code compiles fine,but as I press the space button,it captures the image and throws an exception and closes the application...
CODE:...................
View 7 Replies
View Related
Feb 8, 2010
Is it possible to start an activity from the built-in Camera app after the user touches the on-screen Capture button?
View 4 Replies
View Related
Jun 22, 2010
I am seeing a very annoying behavior on Motorola Droid when trying to do a simple camera preview at QCIF resolution. And I was wondering if someone experienced something similar. Is there a workaround? Am I doing something wrong?
Let me explain the situation.
Firstly, right after boot-up, using native camera application there is nothing out of ordinary, I see preview each time and it is all perfectly well for as long as needed as many times as I want.
The "interesting" behavior starts when I use the slightly modified API Demos (full app available in Android SDK, modified file is attached). My goal is to preview (and later capture) video at QCIF (176 x 144) resolution.
Using CameraPreview module in API Demos application I can start preview and capture normally only the first time - picture is clear, focused, normal colors, etc. Preview and all is nice. The second time I do preview I see a very over-exposed picture, I need to turn it away from any light source to see anything, otherwise it is all white. And even in the shadow, everything is grainy, as if picture is taken with too sensitive settings (high ISO) with too long exposure. The third time, it is the opposite - the preview and capture is way too dark. I need to point the camera directly into the light source to see even a faintest picture. Pointing out of the window does not help, it has to be straight into the lamp or sun. The effect is like taking pictures with much too low ISO setting - it is way too underexposed.
The overexposed and underexposed sessions interchange, but it is not clear-cut which one appears first. So far the prevailing pattern is that overexposed one starts first. Now surprise comes when I try using native camera application. The pattern continues! It is as if hardware or or software (camera process) got "tainted" with the QCIF. This continues until I reboot the device.
Another interesting point is that if I allow device to "rest", symptoms are much less pronounced after 10 minutes, then in 15 minutes they become barely visible. However, it all comes back after the first time I capture in QCIF. Nothing like this is visible when resolution is higher, say, CIF, VGA or similar. The problem is that, for my purposes I need it to be QCIF.
View 5 Replies
View Related
Jul 31, 2010
I am writing an app to capture the camera preview frames and convert it to bitmap in Android.
Here is my code:...........
After I start preview, the callback got called with data, but the bitmap is null.
What did I do wrong when convert the byte array to BitMap?
View 2 Replies
View Related
Nov 7, 2012
I have created an app in which using native camera to capture the image and use it in an activity.The camera is working fine in all the devices of android but crashes in DROID RAZR.
View 1 Replies
View Related
Aug 2, 2011
Looking for a RAW capture with Android camera.I am trying with Xperia X10 camera to capture RAW image, now it has got Android 2.3.3 and APIs are available.
Also, is there any API or lib or .so which I can play around...
View 6 Replies
View Related
Nov 28, 2010
Got mine on Tuesday and chuffed to bits with it Have been fiddling away and even reasonably satisfied with battery life now. Lots of top tips on, have read and learnt a lot so thank you all.
On to business: This morning I wanted to take a daft self-portrait of myself (a doddle on the ol' sony erisscon). It's really tricky and I tried self timer etc... So I looked in the big manual. Page 143 and 146 describe an auto capture function - for just such an event as a daft self portrait. Only problem is I can't find it!
I'm in camera - definitely photo not video - and then menu which brings up settings. All the settings are there except that one.
Any ideas? Would be handy to know where my "auto capture" option has gone!
View 9 Replies
View Related
Mar 11, 2010
Is there a particular flag that we can use to prevent apps showing up in marketplace which require the phone to have a Camera Flash /LED. typical apps are ones which make the phone act like a torchlight in dark , i have seen a tag which prevents apps requiring autofocus in a camera from appearing in the marketplace. Just looking to find out if there is something similar for camera flash.
View 2 Replies
View Related
Jun 4, 2010
I have an activity that I want to show up when the phone goes to sleep. However, the phone wakes up when I press the volume buttons or the camera button.
I tried using the dispatchKeyEvent(KeyEvent event) method, but it doesn't prevent the phone from waking up.
How else can I disable that functionality?
View 1 Replies
View Related
Jun 5, 2010
I have an activity that shows up when the phone screen goes to sleep/turns off ie turns black.
For some reason, the phone turns on when the volume buttons or the camera buttons are pressed. By turns on, I mean the screen wakes up or comes back from the black screen state.
I've tried using dispatchKeyEvent(KeyEvent event) and the buttons are disabled on the activity, but they still wake up the phone.
View 1 Replies
View Related
Mar 11, 2010
Is there a particular flag that we can use to prevent apps showing up in marketplace which require the phone to have a camera flash /LED? Typical apps are ones which make the phone act like a torchlight in dark. I have seen a tag which prevents apps requiring auto focus in a camera from appearing in the marketplace. Just looking to find out if there is something similar for camera flash.
View 2 Replies
View Related
Dec 6, 2009
My camera stopped working. When I click my camera application I get the message "The application camera (process com.android.camera) has stopped unexpectedly. Please try again". It's just a blank screen?
View 3 Replies
View Related
Sep 7, 2009
I want to use screenshot kind of application in my own application. So that I can take picture in any format and save it. There is one function getDrawingCache() which does that, but it only save picture what is available on the screen. It does not capture beyond screen if the picture is big.
View 2 Replies
View Related
May 21, 2010
i had an interview this morning for a job, and have an opportunity to earna great deal of brownie points with the business owners.They were thinking of purchasing some sort of electronic signature capture device (like fedex or UPS has when you sign for a package) for invoices.. BUT.I also mentioned my Droid Eris and how it can do so much. Turns out, both of the Owners have DROIDs lol.Anyways.. I want to know if anyone has seen some sort of application that can capture signatures, and either save an image to be emailed, or email directly from the app.OR does anyone know a DEV that could create something as simple as this, that I can talk to and relay updates on the APP to the owners of this company.They seemed really interested in it, and I'm pretty positive it will show a good bit of initiative in saving their company money from the get-go (on my part)
View 10 Replies
View Related
Jun 23, 2009
I would like to create a video recorder and so far haven't figured out how to set parameters in order to successfully go through MediaRecorder.prepare() method. Executing the following method
public void start() throws IOException{
String state = android.os.Environment.getExternalStorageState();
if(!state.equals(Environment.MEDIA_MOUNTED))
{
throw new IOException("SD card is not mounted. It is " + state + ".");
}
File directory = new File(path).getParentFile();
if(!directory.exists() && !directory.mkdirs())
{
throw new IOException("Path to file could not be created.");
}
recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
recorder.setVideoFrameRate(15);
recorder.setVideoSize(176, 144);
recorder.setOutputFile(path);
recorder.prepare();
recorder.start();
this.state = VideoRecorderState.STATE_RECORDING;
}
it throws an exception on line recorder.prepare(). Does anyone know how to set parameters in order to be able to capture video?
View 7 Replies
View Related
Mar 5, 2009
I'm having trouble getting a screenshot. I installed the SDk, Eclipse, the drivers, enable usb debugging, like the instructions say. I open DDMS and it recognizes my phone without any problems. When I try to do a screen capture, it says screen not available. In the command box it says "timeout" and "truncated reply from ADB fb data". Does anyone know what I'm doing wrong?My phone isn't rooted and is running RC33. I'm running windows vista on my computer.
View 3 Replies
View Related
Jun 14, 2010
i was wondering if any of you had suggestions for a screen capture app that didn't require the SDK. If it didn't require me to root my phone that would also be a plus but i'll take what I can get.
View 1 Replies
View Related
Aug 6, 2009
I want to capture when user press the EndCall key in simulator, but i think i'm doing something wrong cause nothing happens!
My code is:
CODE:......................
View 2 Replies
View Related
Jul 22, 2010
I am working on key capturing events in background. i used Service to send my application back. When the application is in forground i can capture the keys and logged in a file.But when i sent it to background i am not able to get. i am aware of onKey() and onKeyDown(). and also i feel these can only capture the keys when application is foreground.
can anyone please suggest how to capture the keys while application is in background. and also without DDMS how can we capture the screen .Is there any API's
View 2 Replies
View Related
Nov 11, 2009
I was wondering if there is a way to take a screenshot of the current screen inside the mobile phone using a service (I know how to do it through DDMS though)
View 2 Replies
View Related
Mar 19, 2012
I know using HOME and VOICE button can capture the screen without ROOT under 4.0 system, but now I need capture it using API in my code.
View 3 Replies
View Related