Android :: Crop A Picture After Using Camera To Take It
Dec 29, 2009
In 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:............................
View 7 Replies
Apr 23, 2009
If I have an instance of a Picture object (android.graphics.Picture), how can I crop out a section of the Picture object (0, 0, 100, 100) (x, y, w, h)?
View 2 Replies
View Related
Jan 14, 2010
Is there a way to post a picture I downloaded as a backround without having to crop it to droids standard ratio? If I didn't have to do that the pictureslooks like it'd be the perfect kind to move over with each og the 3 scrreens
View 5 Replies
View Related
Oct 26, 2010
How to take a picture using the Camera App and have it NOT appear in the Gallery?
View 7 Replies
View Related
Sep 19, 2009
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 Related
Aug 30, 2010
How 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 Related
Oct 28, 2010
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:......................
View 2 Replies
View Related
Jan 11, 2010
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 Related
Mar 29, 2009
I'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 Related
Oct 29, 2009
I 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:..................
View 4 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
May 7, 2010
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"; ..............
View 1 Replies
View Related
Mar 3, 2009
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?
View 4 Replies
View Related
Jan 25, 2010
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 :
View 3 Replies
View Related
Oct 28, 2009
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.
View 3 Replies
View Related
Dec 8, 2009
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 Related
Aug 27, 2009
How 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 Related
Jul 23, 2010
I 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 Related
Aug 16, 2010
Today 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 Related
Aug 5, 2010
when 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 Related
Oct 19, 2009
Where the photos are stored once they have been taken, etc.. I'm attempting to upload a picture on Sketch Online.
View 6 Replies
View Related
Mar 23, 2012
I 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 Related
Oct 1, 2010
From 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 Related
May 24, 2014
My 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 Related
Aug 1, 2010
Just 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!).
View 5 Replies
View Related
Feb 21, 2010
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 Related
Mar 8, 2010
Essentially, 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 Related
Dec 15, 2009
There 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.
View 8 Replies
View Related
Dec 2, 2009
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 Related
May 24, 2012
I'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.
View 1 Replies
View Related