Hi everyone,
the Emulator's camera worked fine for taking pictures in 2.1 Eclair. What did not work was recording videos, obviously.
Now running an app which worked merely flawless on 2.1 Emulator causes the camera app to crash. I fire up an intent to launch it:
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExt...
I'm trying to crop a photo to use in a Live Wallpaper but I'm getting a FileNotFoundException when the crop activity tries to save my new cropped image. This is the code I'm using:
File file = new File(getFilesDir(), "wallpaper.jpg");
Intent intent = new Intent("com.android.camera.action.CROP");
intent.setData(uri);
DisplayMetrics met...
Is there any way to correctly stop the camera service? This does not seem to work:
public void surfaceDestroyed(SurfaceHolder holder){
camera.stopPreview();
camera = null;
}
After doing that the camera does not work, even if I use the program that is preinstalled in my handset.
...
Hello. I'm new to Android application development and I'm currently experimenting with various UI ideas. In the image below, you can see a vertically scrolling list of horizontally scrolling galleries (and also textviews as you can see). I'm also doing some matrix and camera transformations which I will come to in a minute.
For the b...
I have a webcam that I want to do some image processing on using Python.
It's coming through as a Motion-JPEG. I want to try to process the stuff "live," but really what I want to do is this:
Open the URL, start data streaming to some buffer...
Read x bytes (where x is image size) to an image
Process that image
Display in result panel...
Sometimes when I try to call [myController takePicture] on a UIImagePickerController object, I receive this response:
UIImagePickerController: ignoring request to take picture; image is already being captured or camera not yet ready.
I believe it's not because an image is already being captured because I launch the camera and it fails...
I have an activity that I want to show up when the phone goes to sleep. However, the phone wakes up when I press the volume buttons or the camera button.
I tried using the dispatchKeyEvent(KeyEvent event) method, but it doesn't prevent the phone from waking up.
How else can I disable that functionality?
Thanks,
...
Would anyone know where to control the ISO setting for the camera from in the Android SDK ?
It should be possible as the native camera application on the HTC Desire has ISO settings.
...
Simple question I think and I'll be trying ot myself to see... When people talk about using UIImageWriteToSavePhotosAlbum or UISaveVideoAtPathToSavedPhotosAlbum is the "saved photos album" the "Camera Roll" or the "Photo Library" (or something else either than these two) that I see in the Photo Albums application? I don't think the doc m...
Just started to realize an augmented reality based project, got GPS location, heading, and the two missing variable to manipulate virtual camera is Pitch/Roll.
I'm wondering if there is a ready-made formula I can merge into the project. Could spare me a lot of time. Thanks in advance.
...
I'm trying to find the cameras maximum resolution in C# so I can set it when opening the Camera Dialog.
Unless there is a better way to just set this to the max resolution (over setting it just reverts to VGA)
...
Hi
I am working on trying to create an API on Asus Windows Mobile 6 phone that can capture an image/video with some visual cues/feedback(such as a box drawn in the middle) while the user is capturing the image/video. While it is possible to invoke the inbuilt camera capture application of the mobile phone, but it is difficult to play a...
Hey Guys,
I'm using a Nexus One and the Camera displays horizontal when it should be vertical and vice versa. I've no idea what's wrong. The code works fine on a HTC tattoo. Anyone have any idea what's wrong?
class Preview extends SurfaceView implements SurfaceHolder.Callback {
SurfaceHolder mHolder;
Camera mCamera;
Preview(Context c...
I don't have a dedicated button in Nexus1.I want to detect whether an image/video is captured from the camera like if anyone captures an image then it should write to file that image has been captured.
...
I just walked through this thread, and found html5 video is fantastic.
So now what I need to do is convert video streams from pc camera into rtp/rtsp format.
Is there a good solution you recommend?
...
i used com.android.camera.NEW_PICTURE to check whether an image is captured or not.
(receiver android:name="NewPhotoReceiver")
(intent-filter)
(action android:name="com.android.camera.NEW_PICTURE"/)
(data android:mimeType="image/*"/)
(/intent-filter)
(/receiver)
but com.android.camera.NEW_PICTURE is...
I'm trying to figure out how to draw graphics in XNA, and someone else suggested this.
But before I attempt to use this...
If I create and use this camera, and set LEFT,TOP to 0 and WIDTH=256 and HEIGHT=240, anything I render to the screen will use these coordinates? So a box with a width and height of 1, if set to 0,0 will take up spa...
I'm just playing around with a simple program that opens the camera. That's literally all that I want to do. I'm a beginner and I believe that I have the basics down in terms of UI management for the iPhone so I decided to give this one a whirl.
What I'm trying to do right now is...
- (BOOL) application:(UIApplication*) application did...
So basically, I have a transparent filter with a black image over a camera view (UIImagePickerController). When I need the view to become darker, I just turn the alpha of the filter view up and voilà, it gets darker.
Now I want to make the entire image lighter. Problem is that the only way to do that is to have a WHITE filter layer with...
I'm just starting out teaching myself openGL and now adding openAL to the mix.
I have some planets scattered around in 3D space and when I touch the screen, I'm assigning a sound to a random planet and then slowly and smoothly flying the "camera" over to look at it and listen to it. The animation/tweening part is working perfectly, b...