I launch an activity to capture a picture from camera: Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE, null); i.putExtra("return-data", true); startActivityForResult(i, PICK_FROM_CAMERA); Can you please tell me how to get the URI of the capture picture?
I was successful to capture image using Android Camera but when i set this image using ViewImage on my view, it shows me the default android image and its very blurred too. I also have sdcard installed on the emulator. here is my code...
I am working with camera.. I am facing one problem during capturing image.The image is not saving directly to gallery.But when i reboot my device its appearing. Can anybody tell me why this happens.and How can i solve it.
I'm using this camera code to ask the camera to rotate the captured image data... this seems to work on all phones, except the Droid. Has anyone else seen this? The image data is always landscape, however, the native camera app produces portrait images OK. I wonder if the Droid will only respect the new Camera.Parameters.set Rotation() method, but this seems to only be available in sdk level 5?
I have a camera application that captures a 640x480 image.I want to convert this image to grayscale.I know I have to use the setSaturatio (float sat) in the ColorMatrix method to zero but I don't know how I can set it to grayscale.
I am developing an camera application where i want to capture image and give special effects. can anyone tell me how to work on preview of camera image taken by camera which i have include in application. My application is capturing image and saving it in device.But i want to show the new image according to user's choice for effects(whichever he wants) from inside the application.
I have an application that works fine with smaller images (say 1024x768 or so) but when you rotate the phone into a different orientation (say landscape to portrait) mode with a larger image on the screen, and then call ImageView.setImageUri() it goes into the BitmapFactory.class and never returns.So the app eventually times out. Never throws an exception, just never returns. Has anyone else seen this? Sounds like a bug in the Android code more than something I am doing since it works fine for smaller images.
I use http://stackoverflow.com/questions/541966/android-how-do-i-do-a-lazy-load-of-images-in-listview/3068012#3068012 to load images in a ListView and a GridView. It works but the images are loaded form bpttom to top. How to fix that?
Bonus Question: Can I use a loading animation in a image view while the real image is loaded? Right now it's just a default image.
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.
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);
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.
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.
I have no idea from where this default image is coming.
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.
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?
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...
- TEXT VIEW -' SLIDE DRAWER image I have a layout like this above textview and an image that slides down after clicking the text view. I have looked at translate animation but the issue is I want the image to start from the bottom of text view and gradually get into its full view. Translate animation doesn't let me start from behind the textview so that it can appear slowly and coming out at the bottom of text view and expanding to its fullview. I have linear layout now with textview and imageview.
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?