Android :: How To Use Web Camera In Emulator To Capture A Live Image?
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
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
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
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
Sep 29, 2010
I'm using the android SDK in Eclipse on Linux. I've used the code at itp.nyu.edu/~sve204/mobilemedia_spring10/androidCamera101.pdf to write an app to store an image captured through the camera onto SD card (there are various examples of this around). It works ok except that the image returned by the camera is not what's on the preview surface. Instead of getting the checkerboard image I expect, I get different versions of the android icon depending on which version of target I choose. If I render the image to an ImageView this is confirmed as it's the same as on the SD card.
View 1 Replies
View Related
Oct 1, 2009
I want to capture much larger image than the current small image captured by the android g1 phone camera.
View 9 Replies
View Related
Oct 27, 2010
I want to take a picture with camera, after read the document and googling,I found, if i don't want the original picture,i just use
Code...
View 3 Replies
View Related
Jul 20, 2010
I'm trying to capture an image by calling camera utility from "MeidaStore.ACTION_IMAGE_CAPTURE". However, it seems there is only on resolution available 640x480, while the native camera support 8MB resolution.Any permission or extra param needed to get larger resolution option? It'd much appreciated if anyone can help on this.
View 3 Replies
View Related
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 18, 2010
I am trying to find a way to listen to a built-in Camera application Capture event.I want my application to be triggered each time a picture is taken. Is it possible?
View 1 Replies
View Related
Jan 16, 2010
We are developing an app that will need to capture camera image and send it via MMS. (large or small image please) Based on a method invocation in another activity, take an image and send it via MMS..
View 3 Replies
View Related
Apr 13, 2010
Finally strace gave me this:
CODE:................
And several other attempts to call "link" that also fail (sshfs does not support hard links).
Is it possible to change the emulator's behavior to create lock files somewhere in /tmp (using some hash of image path as lock file name)? I am OK to try this myself: which repositories from https://android.git.kernel.org/ are necessary to rebuild the emulator alone, and where in the sources is the code responsible for image locks?
View 4 Replies
View Related
Nov 1, 2010
I am getting the following error when I try running my program in the emulator:
emulator: ERROR: the user data image is used by another emulator. aborting`
View 1 Replies
View Related
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
View Related
Jun 26, 2009
I start an IMAGE_CAPTURE Intent like this, and my activity's onActivityResult() get called: Intent i = new Intent (android.provider.MediaStore.ACTION_IMAGE_CAPTURE, null); i.putExtra("return-data", true);
startActivityForResult(i, PICK_ICON_FROM_CAMERA_ID);
But, if I start my Intent like this, the Capture Image Intent did get called, but my activity's onActivityResult() never get called:
Intent i = new Intent (android.provider.MediaStore.ACTION_IMAGE_CAPTURE, null); i.putExtra(MediaStore.EXTRA_OUTPUT, Uri.parse("file:/" + "MyTestFile")); i.putExtra("outputFormat", Bitmap.CompressFormat.PNG.name());
startActivityForResult(i, PICK_ICON_FROM_CAMERA_ID);
View 3 Replies
View Related
May 25, 2010
I have Imagebutton or image view in Main.xml How can i assign result URI to ImageView or ImageButton?
View 1 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
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
Jun 2, 2009
As a first step toward a speech recognition project, we wrote a simple voice recording application based on the information in this thread: http://groups.google.com/group/android-developers/browse_thread/threa...
It is working; however, the audio is extremely poor -- too staticy for our needs code...
As a comparison, here is a similar audio file captured with audacity on a PC: http://juzzam.org:9090/myAudioFile_onPC.mp3
Has anyone been able to record high quality audio with the emulator? If not, is it any better on the android dev phone?
According to the documentation of MediaRecorder, there is only one audio encoder "AMR (Narrowband) audio codec" and three output formats--3gpp, mpeg, and raw AMR: http://developer.android.com/reference/android/media/MediaRecorder.html
Here is the Activity source: http://juzzam.org:9090/RecordMicrophone.java.txt
We are testing on Windows XP, with a Logitec USB microphone, eclipse ganymede, and we are using all the defaults for an android 1.5 app (no emulator command-line options.. we defined the sdcard in the avd manager).
View 2 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
Apr 16, 2013
I made a purchase online utilizing my Razr this weekend and I saved the confirmation website page in my offline saved sites on my phone. I need to print a hard copy of this receipt and when I search on the device for the site I only find a .SKIA type file at the date and time of the purchase. I am assuming that this is the offline image of my save website, but now I can't figure out how to print it.
My phone attempts to search for a WIFI printer, but I don't have one available.
Is their a way to convert the .SKIA to a .pdf and then print it from my desktop or laptop?
View 1 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
Oct 14, 2009
I was capturing images before that were showing up in the gallery, but now they are not and I can't figure out why. Here is my code:
ContentValues values = new ContentValues();
values.put(android.provider.MediaStore.Images.Media.IS_PRIVATE, false);
String name = "ugc_" + String.valueOf(System.currentTimeMillis());
values.put(android.provider.MediaStore.Images.Media.TITLE, name);
imageURI = getContentResolver().ins (android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values);
I also tried:
values.put(android.provider.MediaStore.Images.Media.IS_PRIVATE, 0);
As well as leaving out that value, but nothing seems to work now.
View 2 Replies
View Related
Mar 23, 2010
Where to get streaming (live) video and audio from camera example for Android? Suppose I want to create some live video streaming service app so I'll have some cool server at the back end. And I know how to do that part. Suppose I have some stand alone app for PCs now I want to go on to mobile devices. So I want to see some sample app grabing audio and video streams from Phone, Synchronizing them, encoding somehow, and sending LIVE stream to server. I need any Open-Source sample that will do this or something like this. Where can I get such one?
View 1 Replies
View Related