Android :: Camera Photo Completely Black

Aug 25, 2009

I am creating a little application where I use the Android Camera class. Everything seems to work but the result is a black picture. I think I forget to set a parameter. Do you have any ideas on which parameter I must set up ?

The code:
public boolean takeIt() { ImageCaptureCallback iccb = null;
try { String filename = "photo.jpeg";
ContentValues values = new ContentValues();
values.put(Media.TITLE, filename);
values.put(Media.DESCRIPTION, "Image capture by camera");
iccb = new ImageCaptureCallback(new FileOutputStream(new File (dataMgr.getRoot(), filename)));
} catch(Exception ex ){ ex.printStackTrace();
} camera.takePicture(mShutterCallback, mPictureCallbackRaw, iccb);
return true;
}

Android :: Camera Photo Completely Black


Motorola Milestone :: Camera - Photo Right Edge Shows A Thin Vertical Strip Of Next Photo

Oct 20, 2010

Has anyone else experienced a strange problem with the Milestone (running 2.1) camera - in every photo, the right edge shows a thin vertical strip of the next photo! Shows in both Gallery & Media Gallery.. but don't have a similar issue in a video.

View 5 Replies View Related

Android :: Context Menu Shows Up Completely Black / Solve This?

Sep 15, 2010

I followed the instructions and examples on Android website to create a context menu but mine shows up completely black and i cannot change any options in it ; anyone out there had the same experience and can help me solve this issue.

FWIW, here are my class .java and the menu .xml files code...

View 1 Replies View Related

General :: GS4 Screen Just Completely Black

Oct 8, 2013

My Galaxy S4 screen is just completely black. I can turn on my phone and even put in my pattern code on the screen, but it remains black. I have tried to reset it multiple times and I don't really know what to do. Any possible fix without having to get a repair.

View 3 Replies View Related

Samsung Fascinate : Won't Boot Completely / Suddenly My Screen Went Black

Nov 11, 2010

So I was at work today browsing the market and suddenly my screen went black. I tried pressing the power button to wake it but got nothing. After a few minutes of waiting, I pulled the battery. The phone will boot past the "Samsung", "Galaxy S" and "Verizon" screens, but gets stuck on the Verizon one for a while then goes dark. The soft buttons on the bottom stay lit. That's it. I've probably done it 10-15 times through the evening now, and I get no farther.

I wasn't doing anything particularly taxing at the time, and I haven't added anything recently that would have caused a change in any system files. I'm running voodoo v.2 with the OCLF (because it won't uninstall) and all has been well for almost six weeks now... then all of a sudden this happens.

I'm thinking maybe I need to learn exactly what Odin is and how to use it, but any help that you can give would be great.

View 3 Replies View Related

General :: Prism II - Dropped Phone And Screen Completely Black

Mar 20, 2014

Screen is completely black though I can hear texts coming in. Phone is a Prism II.

View 1 Replies View Related

General :: Setting Brightness Manually / Screen Goes Completely Black

Apr 18, 2014

I have problem setting brightness manually. When i set brightness level at minimum, the screen goes completely black. Hard reset and change ROM don't fix the problem. The phone is a nexus 4 . looking at youtube i discovered this video.URL....

View 1 Replies View Related

Motorola Droid :: Phone Completely Disappears In My Black-lined Purse / Fix It

Nov 9, 2009

Darn phone completely disappears in my black-lined purse

View 4 Replies View Related

General :: Galaxy Note 2 Screen Started Slowly Turning Blue And Went Completely Black Later

Nov 24, 2013

I dropped my Note 2 yesterday and the screen started slowly turning blue. This morning, the screen completely got filled with blue/white/messed up color, and then went completely black. Touchscreen still worked though because I was able to maneuver around the phone right after it was dropped. Screen was not cracked. does the screen has to be replaced as well or i can replace it with smaller parts?

View 2 Replies View Related

HTC Incredible :: Free Photo Editor To Change Pictures From Color To Grey Scale / Black And White?

Jul 21, 2010

I need a free photo editor that will allow me to change pics from color to Grey scale/black and white.

View 2 Replies View Related

Android :: Camera Preview Screen Still Black

Mar 16, 2010

I'm trying the camera preview

This is my code and it doesn't throw any error, but the screen still black, any ideas?

this.setContentView(R.layout.camerapreview);
SurfaceView cameraSurface = (SurfaceView)findViewById(R.id.cpPreview);
SurfaceHolder holder = cameraSurface.getHolder();
holder.addCallback(this);
holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
this.camera = Camera.open();
this.camera.setPreviewDisplay(holder);
this.camera.startPreview();}

View 2 Replies View Related

Android :: Upload A Photo From Camera To PHP Server

Sep 13, 2010

I have 3 days into this and my mind is melting oozing out my ears...

The end result is that I want to upload selected photos from and Android phone to a php website.

I can display the images from the camera and get the filename that I want to upload. However I cannot use FileInputStream on the file name because it is not private to my application. Use FileInputStream generates an error that the file contains a path separater.

Does anyone know how to get the filestream running? Do I have to copy the file into a private file store?

After 3 days of googling this I am amazed I haven't that answer.

View 1 Replies View Related

Samsung Captivate :: Camera Lens Is Completely Flush With Back Of Phone

Oct 5, 2010

It's insane. The camera lens is completely flush with the back of the phone.

View 14 Replies View Related

Android :: Emulator Version - Using For Photo - Camera Testing

Feb 24, 2009

I have 1.0 r2 and it takes garbage pictures, and crashes when trying to view any saved image (I've only saved images taken from the emulator's "camera" so I don't know if it shows images that were pushed via adb properly.)

I'll try the 1.1 SDK, and failing that, an earlier version.

Is this a known issue, sort of a "well, if you're really going to work with pictures, you should be using a G1 anyhow..." kind of thing?

View 2 Replies View Related

Android :: Cropping In Camera Application And Photo Location

Oct 26, 2009

I have not noticed this posted yet so just adding here for those that have not found it. The new camera/video/gallery application supports cropping. After taking a photo or viewing in the gallery, press the Menu button and Crop. You can resize the crop box by touching the edges or move it by touching in the center. Using this feature I was able to create and share panoramic images that were much more interesting. Clicking Menu and then More reveals the "Show on Map" command which displays the location the photo was taken.

View 3 Replies View Related

Android :: How Can I Create Photo - Apply Cool Effects With Camera

Jun 11, 2010

I'd like to make an Android app that lets a user apply cool effects to photos taken with the camera. There are already a few out there, I know, but I'd like to try my own hand at one.

I have been googling and stack-overflowing, but so far I've mostly found some references to published papers or books. I am ordering this one from Amazon presently - Digital Image Processing: An Algorithmic Introduction using Java

After some reading, I think I have a basic understanding of manipulating the RGB values for all the pixels in the image. My main question is how do I come up with a transformation that produces cool effects?

By cool effects I mean some like those in these iPhone apps:

I already have quite a bit of experience with Java, and I've made my first app for android already. Any ideas?

View 1 Replies View Related

Android : Trying To Iterate Through All Photo Images - Produced By ADP1 Camera

Feb 12, 2009

I am trying to iterate through all the photo images (produced by ADP1 camera), held on external SD storage in an ADP1. I want to extract the binary data for each image file, determine image size in bytes and send the image data (possibly after compression) over a network conection.

My code is generating an exception when I try to generate a Bitmap based on Photos taken by the ADP1 Camera, stored physically on External SD Card Storage. It looks like the image size is exhausting VM for my application.

I attempt to extract a Bitmap via android.provider.MediaStore.Images.Media.getBitmap() static member function. Code...

View 2 Replies View Related

Android :: Need To Push Intent To Default Camera Application To Make It Take Photo

Apr 28, 2010

I need to push an intent to default camera application to make it take a photo, save it and return an URI. Is there any way to do this?

View 2 Replies View Related

Camera Force Close In App When Take Photo?

Nov 26, 2012

i have an apk app which can take photo and take video with a button.

I have first device running the app and I have 2 button, take photo and take video.When I click take video in this app and it works well but when i click take picture from the button, the app always "force closes".

this is my error logcat

11-19 14:43:27.085: ERROR/AndroidRuntime(6903): FATAL EXCEPTION: main 11-19 14:43:27.085: ERROR/AndroidRuntime(6903): java.lang.NullPointerException
11-19 14:43:27.085: ERROR/AndroidRuntime(6903): at com.android.camera.Camera.initializeFirstTime(Came [code].......

View 6 Replies View Related

Motorola Droid :: Camera Goinng Black?

Jan 19, 2010

i have a big black dog. anytime i want to record her with her taking up just a portion of the screen the droid screen turns very very dark almost all black. to the point hwere i can t really make out what i am recording. whats the point? i have tried differnt settings but i still get the same thing. has anyone else had this problem with the camera goinng black?

View 4 Replies View Related

HTC Desire :: Camera Not Working - Shows Nothing But Black

Jul 15, 2010

When I start the camera up, it shows nothing but black (no, the lens isn't covered in any way/shape/form).

Done numerous restarts and a factory reset.

View 2 Replies View Related

General :: Sero 7 Pro Camera Stops - Just Goes Black

Dec 6, 2013

I have a Sero 7 Pro, and for some odd reason, the camera stops. Doesn't stop working, just goes black. I have to stop recording and restart. Sometimes it will record for hours, other times for 20 to 30 seconds. I use it as a dash cam and it's getting irritating.

View 2 Replies View Related

Motorola Droid X :: Panoramic Photo Using Camera 360

Jul 27, 2010

Does anyone know if you can shoot a panoramic photo with the Droid X if you are using the Camera 360 app? I've looked through the settings & different shooting options, and can't find where I can?

View 2 Replies View Related

HTC Desire :: Problems With Photo Files When Trying To Use Camera

Sep 2, 2010

Just a small problem I have with my files when trying to use the camera, apologies if this has been dealt with already but don't fancy trawling the forums whilst on my mobile When trying to use the camera I get the message "unable to save file to SD card due to insufficient file permissions"

I am also unable to view a lot of my photos on the SD card through the gallery where as previously I didn't have any such problem. I am rooted and have bog standard 2.2 with sense UI

View 2 Replies View Related

General :: Galaxy S2 - Take Photo Without Opening Camera App?

Mar 26, 2012

We all had these moments when we just had the opportunity to take the perfect picture, but the camera app slowed us down and we missed it.

Thats why i came up with an idea which will allow you to take photos from your homescreen / anywhere with one of the hardware buttons without opening the camera app first.

Is this something you can achieve with the app tasker?

Im using the galaxy s2

View 2 Replies View Related

General :: How Fast Camera Takes A Photo

Nov 13, 2012

What affects how fast the camera takes a photo? Is it software (app or possibly rom?), hardware(camera, ram, cpu), or something else? Just wondering, because I noticed my friends s3 take photos much faster, especially in regard to auto focusing (iphone as well). I have an HTC Sensation, and my camera takes much longer to take a photo.

View 1 Replies View Related

General :: Can't Take Photo With Camera - SD Card Is Full?

Apr 23, 2014

i flashed my a13 tablet t730 mainboard all things goes right but i can't take a photo with the camera it said your sd card is full??

View 5 Replies View Related

HTC Droid Eris :: Camera Not Working - Shows Nothing But Black

May 22, 2010

When I start the camera up, it shows nothing but black (no, the lens isn't covered in any way/shape/form). If I hit the track ball as usual it acts as though it's taking a picture though it's also nothing but black. What am I missing here? BTW, I'm on 2.1 and did a factory reset two days ago.

View 7 Replies View Related

Motorola Droid X :: After Update Camera With Black Screen?

Jul 25, 2010

So I was trying to show off my phone today and when I tried to take a picture the screen was black. It won't take a pic or anything. This is the first time I've tried it since the update.

View 7 Replies View Related

Samsung Moment :: Camera Screen Just Stay Black

Dec 9, 2009

I've been playing with my camera today, and finally figure out how to take decent pix, but after scrolling through my album, I tried to go to the camera again, but now everytime I try the screen is black. And it stays black even after I remove my battery. A few times, I couldn't even get to home--the screen just stayed black.

Now it's still black when I go to the camera, but at least I can access home without having to remove my battery. I called Bestbuy and they said I can exchange, but I'm afraid I might get one with a messed up GPS. :-( Will Bestbuy fix it or make me exchange? Will Sprint fix it even though I'm still in my 30-day trial?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved