Android :: 2.0 Camera.setParameters - P - Picture Size Must Be 213x350
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
Oct 8, 2010
I have included camera functionality in my application. I have also launched the app in the market. I got an error message from one of the users that he is getting an error while opening the camera...
I have tested the app on the device on 2.1. The error i got from the user is using nexus one which will mostly run 2.2...Here's the logcat error that i received...
java.lang.RuntimeException: setParameters failed
CODE:............
I ran the app on 2.2 emulator also to check it. But it worked fine. can anyone please tell me why the error is occuring?
Here is the class which i mentioned in the comments :
CODE:..................
View 1 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
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
Sep 2, 2009
In my application, I will get a instance of android.graphics.picture which is populated by user. Then I use writeToStream to save. After save, I have to check the file size. If the size is too large, then I should delete this file.
I think this save-check-delete operation is not reasonable. I prefer to check the size of android.graphics.picture. If the size is too large, I should not save to local. But I checked android.graphics.picture, it only have getHeight and getWidth member functions.
Could I get the size of android.graphics.picture?
View 2 Replies
View Related
Mar 9, 2010
I've got a problem in saving a picture in a full size after capturing it using ACTION_IMAGE_CAPTURE intent the picture become very small , its resolution is 27X44.
I'm using 1.5 android emulator, this is the code:
CODE:................
View 1 Replies
View Related
Sep 7, 2010
My DInc takes great pictures in the day, and my so-so night pics can now be fixed to look quite decent. Anyway, question is this. When I chose to get a picture to edit, it asked me what size I wanted for it. I chose maximum size and chose the option to always pick that size. I normally take pics in 8 megs, will a photo edited by Picsay be lower in quality than the original, or just about the same? Also, is there any way I can default the app to just ask me what size I want to edit pics in? (Rather than maximum size being the default)
View 6 Replies
View Related
Jun 4, 2010
I have a picture that i want as my background on the EVO but the thing is that I don't want it to take up all seven screens just the home screen. The rest of the screens could have a black background for all I care. So my question is HOW do i do this or go about doing this. If it helps I will also post the picture of what I want as my wallpaper.
View 4 Replies
View Related
Dec 13, 2009
If the picture size is set to 5mp and the picture quality is set to super fine why is my picture size 193k? This happens quite a lot.
View 1 Replies
View Related
Oct 29, 2010
Is there a standard size for a picture when setting it as your wallpaper please? I have a couple of pics that I want to try but the pic is to big when I set it to wallpaper! I have tried resizing but with little joy.
View 3 Replies
View Related
Sep 24, 2010
I am looking for the size to make a picture for contacts. I have tried shrinking them to non-existant but it still will not give me enough to work with correctly. I know it is smaller then the wallpaper system.
View 1 Replies
View Related
Apr 26, 2014
I take pictures with my regular camera. Put the pics on my PC. I then want to transfer them to my phone and when I try to view them on my phone, I get the broken picture icon. The phone's largest picture that it will take is 4128x3096. The pictures I am transferring are 4608x3456. Is this the reason why I can not view these pics on my phone? I transferred with media setting and camera setting when the phone was hooked up to the PC. It gave me the same result with the broken pic icon.
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
Jan 25, 2010
since the Nexus One has more screens then other Androids... does it require a bigger size picture for the wallpaper? or it automatically fits whatever size picture you transfer into your SD card?
View 1 Replies
View Related
Mar 20, 2010
Anyone know how to change how much messages compresses an image when u try to send it in a text? When I take a picture and share it in messages it says picture is too large and starts compressing it. It compresses it down to 14kb. It says picture can be as large as 1000kb but every time it compresses it to 14kb and don't know how to change it.
View 5 Replies
View Related
Dec 17, 2009
Is there a way to make the contact photo larger, especially on call id screns and such, it seems weird that there is a huge box when you are making a call but the pictures stay in a little thumbnail.
View 1 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
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
View Related
Sep 6, 2010
http://i290.photobucket.com/albums/ll248/R1C4/Raiders-8.jpgraiders.bmplooking to make this my wallpaper on my droid , I took it from google images but it doesnt fit. help resize for me so it will fit my screen ?
View 9 Replies
View Related
Jul 23, 2010
whats the size that you should have a picture optimally to use as a wallpaper on the Captivate? i tried using some pics that were 480x800, but they didnt quite look AS good when scrolling through different screens via LauncherPro....
View 3 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 21, 2009
My application while compiled in 1.5 works fine. I had some memory issues w/ 1.6 due to image size, which was strange b/c the image size increased when taking photos by taking a picture w/ surfaceholder/imagecapture callback. I seem to have fixed re-displaying those images by resizing them using a bitmapfactory matrix. But my camera is now rotating everything 90 degrees. It appears that my Override of surfaceChanged does nothing, which is where I was setting rotation at 90 (I can't remember why, it was 10 months ago!). I have tried at rotating the camera parameters paramters at 90 degrees, 0 degrees.
View 2 Replies
View Related
Aug 17, 2010
At the moment I am attempting to set my camera on my Motorola Droid phone to take an image that matches the size of my screen (854 x 480 pixels), and I am attempting to accomplish via the parameters for the camera as such:
CODE:.................
I have my activity implement the Camera.PictureCallback method of onPictureTaken (excluding log calls), so when the takePicture method is called it runs this method:
CODE:..........
For some reason though, my camera is taking pictures in 1280 x 960. Is this some sort of minimum size the camera can capture an image in? From log calls I can see that the Camera's parameters are still set to have a picture size of 854 x 480, but image keeps coming out as 1280 x 960. Am I decoding the image incorrectly, am I setting the camera's parameters incorrectly, or am I doing something else wrong?
View 1 Replies
View Related
Oct 9, 2010
If you're only running a single screen(as I am) what would be the correct size for a picture to fit perfectly? I can't seem to figure it out.
View 2 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 22, 2010
I have downloaded one open source ocr application. when i run it on the g1 phone it is working, but for the nexus one its throwing up a exception telling E/QualcommCameraHardware( 52): Invalid preview size requested: 533x310
E/AndroidRuntime(5038): java.lang.RuntimeException: setParameters failed
View 5 Replies
View Related