Android :: How To Take Picture Using Camera App?
Oct 26, 2010How to take a picture using the Camera App and have it NOT appear in the Gallery?

How to take a picture using the Camera App and have it NOT appear in the Gallery?
I tried an old(er) example / tutorial to capture a picture from the camera. But "android.hardware.CameraDevice;" cannot be resolved. Has the name changed or have somebody a good tutorial for android 1.6 and the camera? If I press a button, I want to open the Camera and make a picture. After that i want to save the picture on a sdcard and go back to my activity.
View 3 Replies View RelatedHow can I add a watermark in the picture (.jpeg)? I have this project in mind where I'd like to have such feature - to take a picture using the camera (already developed this) and then make it watermarked. So basically just take the .jpeg file and then blend it with some .png file that is semi transparent.
View 4 Replies View RelatedIn the following code, I am able to get the photo editor to come up after I take a picture, and am able to crop it. However, the aspectX and aspectY does not seem to be in effect, as the aspect ratio is not locked at all.
What I is that after taking a picture, the crop/editor comes up, with a fixed aspect ratio of 1:1.
CODE:............................
Hi Guys! I'm coding a little app, but I don't know what I'm doing wrong. The App does the following: - Launches a Service which listens for an sms, then captures a picture with the cam and sends it to a predefined email adress. (no, i'm not trying to spy somebody out... I'm using the app to get a "3G-Webcam", sort of at least)
The problem: My App works great in the emulator, but as soon as I try it on my HTC Magic (cm6, android 2.2) it stops working.
CODE:.............
The permissions are all set, even the write to SD-card. What am I missing?
Note: I'm not using a surfaceview. Code:
CODE:......................
I'm writing an application for Android. I need to make some image processing on the picture taken from camera.I use Camera.PictureCallback to get the photo, and I get picture in byte array.The problem is I want to make operations on every pixel of photo (some filtering and other stuff) so I guess, have photo in byte array is not a bad idea. But I don't know how interpret information in this byte array... The only way I know to make the processing is use BitmapFactory.decodeByteArray() and then use Bitmap object. Is this a good way to handle a lot of image processing?
View 1 Replies View RelatedI'm trying for my app to create a picture this way... It works fine, except when doing this, the picture is written in the "Camera" folder (/sdcard/dcim/Camera). Since the picture was not taken with the camera, this is not desirable. Is there any way to put it directly in dcim?
View 3 Replies View RelatedI am having an issue w/ 2.0 in the emulator when I am trying to set a couple of parameters. Including the size.
It appears these messages appear.. I guess my question is, why is the picture size stuck at 213x350? If I set my picture size to 640x480 it fails.
CODE:..................
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:...........
I just don't get it: when I use the camera with an intent and also specify an output file, the returned image is always very small on many devices (e.g. Motorola Milestone 2.1, HTC Desire 2.1, Emulator 2.1, Emulator 2.0.1) but not on all (e.g. Nexus One). Here's what I do to bring up the camera app:
private final static String TEMP_PHOTO_FILE = Environment.getExternalStorageDirectory() + "/TEMP_PHOTO.JPG"; ..............
I am trying to take picture by G1 camera.
I have tried almost everything i was able to find on the net about this topic. It seams there should be intent with action "android.media.action.IMAGE_CAPTURE" which really starts camera application and returns captured image. But captured image is scaled to 0.25 of original size. Another possibility I have found is to pass uri where to save captured image. I went through all available sources of camera application and it should work but does not.
For illustration, I am doing following in my example activity which creates new image, but after returning from camera, image is still empty:
CODE:..................
I am ready to write my own capturing application, but it is quite hard and I would like to reuse.
Do you know correct intent action name and extra name to pass to capture image?
As title - having tried everything I could find already suggested, I've completely run out of options. I'm unable to set the picture size taken by the camera on the Samsung Galaxy.
I don't set preview size anywhere and I've tried the ShutterCallback trick. On checking the camera parameters before and after attempting to change the size, I get the correct results - the camera *reports* that its size has now been changed... however, the size of the byte array I'm receiving in the onPictureTaken() callback is only consistent with the camera's default (enormous) image - and forces an OutOfMemoryError when I attempt to decode it into a bitmap!
It looks like I'm having a similar issue to this user: http://groups.google.com/group/android-developers/browse_thread/threa... - but unfortunately it looks like no solution was found then, either :
No matter what I do I cannot make the final camera image be smaller than the gigantic 5MP which effectively crashes the poor old BitmapFactory.
The ShutterCallback trick is in use. Does somebody have some other ideas?
Boy, it feels like going all the way back to J2ME.
On the G1 camera app, there's a handsome looking camera button which you can press to signal the app to take the picture. It's a round button with a little camera icon in it. Is that button resource available in android.R? I'd like to use it in my own app if possible?
View 2 Replies View RelatedHow do we do programmatic reading of a barcode that is captured using a mobile phone camera? For example, how do that using iPhone or Android or Java ME? Do we need separate hardware to read bar code or can we do image manipulation
View 6 Replies View RelatedI ask if there is a simple way because there is a google issue report saying that using decodeByteArray isn't possible. But that report originated in 2008 and I was hoping there was a solution not posted on there. The method listed on the issue report was to decode the format yourself, but I'd prefer to not have to put that in and slow down the program.
View 1 Replies View RelatedToday when i took a picture on my evo phone n i reviewed it i noticed the picture was upside down, i already chekd on the camera settings.
View 2 Replies View Relatedwhen I take a picture my phone will freeze... I can snap the photo and outer will show me the preview and will freeze before the side Bar comes up... the only way to get out is to press the home button but it won't save the photo.
View 4 Replies View RelatedWhere the photos are stored once they have been taken, etc.. I'm attempting to upload a picture on Sketch Online.
View 6 Replies View RelatedI saw a lot of ics camera apks but i didnt find a option to change the picture size from 8 mp to 6.5. How can I change it? GT-I9100
View 4 Replies View RelatedFrom my activity I do startActivityForResult(MediaStore.ACTION_IMAGE_CAPTURE),and then I land in the builtin camera activity (in this case in the emulator).in my testcase, it does not find ANY button (null is found for index=0).How do I write a Solo/Robotium testcase that uses the builtin camera to take a picture ?
View 1 Replies View RelatedMy Samsung Galaxy note II now runs Android 4.4 Kitkat after latest updates. The problem is I want my caera app to store its pictures on my external SD card. and this is not possible. furthermore every app is not able to access my sd card. How can this be corrected ?
View 4 Replies View RelatedJust got my new Droid X on Saturday, and started playing with it...first installing LauncherPro, and Beautiful Widgets.
Then I started to play with the camera taking pictures...I couldn't figure out for the life of me how to change the "save location" on the phone for when it takes the photos. I don't know whether the photos are being saved to the SD Card (like I WANT), or to the internal memory (which I don't!).
Is there a camera app that will allow me to take pictures with the volume buttons? It'd be really nice.
View 5 Replies View RelatedEssentially, what I'd like to do is to be able to press the 'back' button on my Hero to take a picture, rather than pressing the trackball.
View 2 Replies View RelatedThere was a post about camera app (paid) that makes better picture.
That post had a pics with Hero's app and that one.
However, i can't remember the app's name, nor i can find that post.
Is it possible that someone could create an App for the Camera to improve picture quality? Is it even possible to improve things like Shutter speed, blurriness, grain in picture and ISO through an App?
View 2 Replies View RelatedI'm looking for a camera app that displays a picture on my screen in transparency when taking another picture with the camera of the phone in order to do the same pic as done before ...
Any app already exists ? Or is there a tip to do this ? Taking a picture with a printed photo in the other hand is not very effective.
I was experiencing the "freezes" that others have complained about. The phone itself would freeze up after taking a picture or I'd get a black screen right after activating the camera. After some experimenting, I found something interesting that might help others with this problem. I don't understand why this would work, but it does, at least for me.
If I activate the camera while the phone is vertical and wait until the picture comes on the screen and then turn it horizontal, I have no problems, it takes pictures from then on either vertically of horizontally. But if I am holding the phone horizontally. and then activate the camera, I get the black screen or if I do get a picture, the camera freezes after taking the shot. Maybe the part of the OS that detects orientation is having compatibility problems with the camera software?
Picture taken with camera on phone wont send when using the share option. When I go the the gmail outbox there listed with sending in red letters.
View 1 Replies View Related