camera

Testing for front or rear camera on an iPhone4

I wrote an application that sets some camera values (duration, quality, etc) using UIImagePickerController and it works fine. However, on an iPhone 4, I start with the front camera and if the user switches to the rear camera, the quality settings are lost. Is there a way that I can test if the user switches between the front and rear c...

Can the iphone4 record from both facetime and front-facing camera at the same time?

I am researching for an application at the moment. One of the interesting ideas that came up were to record from both front facing camera and the facetime camera at the same time. Any of you know if this is feasible? Thanks :) EDIT: I mean to say front and rear cameras. I want to record from both cameras at once to two separate streams...

Saving bitmap to SD card with out compressing it in android

Hi friends I am using android inbuilt camera to take picture and then attaching the same picture to email, when i am testing this functionality in 1.6 device, i am able name the picture that to be taken by in built camera, but in 2.1, the picture is having a name i.e given by device, How to give user defined name in 2.1 inbuilt camer...

Good old Android Camera problem using intent ACTION_IMAGE_CAPTURE

Hi guys. Good old camera problem, but hope someone figured out by now. So here is the code that I'm using to take pictures with the pre-installed camera app. The code that start the activity with the intent. public void onTakePhotoClickHandler(View v){ m_Intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE, null); m_Intent.putEx...

Faster, more efficient JPEG conversion and compression on the iPhone

I'm grabbing frame images from the iPhone's camera at a rate of 25fps using a resolution of 192 x 144 and a 420v, BGRA format. I'm converting the CVImageBufferRefs into UIImages and then calling UIImageJPEGRepresenation(image, compressionQuality) to get a compressed JPEG version of the image. Using the Time Profiler in Instruments, I c...

Help with Pop-ups for menu Items

I am wanting to make an transparent menu strip bar at the bottom of the screen that when you press anyone button on that strip, it will then show your options in a pop-up window like what they use in the new version of the "camera" application for the droid 1 running 2.2... Also I am wanting it to be over top of an background (meaning l...

How to delete photo just taken in android program.

Hello. I have written a program that uses the Intent for the image capture to get a photo using the application in the phone. Using MediaStore.EXTRA_OUTPUT, I get a URI to the image, wich converted to a path results in something like "/external/images/media/NN" where NN is the number of the photo. Now, in my program, after I read and m...

Camera crashes in Android 2.2

I have tested my application on the Android SDK on everything from 1.5 to 2.2 and the camera code in my activity works fine. Running it on a device with 2.1 is also working. But the same app does not work with 2.2 on HTC Desire and Nexus One and the app crashes. Any ideas why they might be happening? Am using import android.hardware.Cam...

How to detect if there is front camera and if there is how to reach and use front camera ?

How to detect if there is a front camera and if there is how to reach and use front camera ? ...

How to create a single image from an overlayed image and a picture taken with iPhone?

There are countless apps out there that do this ... but I'm curious as to what suggested way(s) exists for producing the highest quality image. Example of what I'm looking to do: Be able to overlay an image of a mustache on top of the iPhone's camera. Optional be able to resize/rotate that image. Take a picture and superimpose the ove...

How to retrieve image from intent uri in android i.e assigned using content values

Hi friends I am using android inbuilt camera to take picture and then attaching the same picture to email, here in the below code i am using Uri imageUri = null; to take picture but in onActivityResult(int requestCode, int resultCode, Intent data) method i need to retrieve that image how to do it, plz help me.. , public cl...

Canon EOS 1000 / Nikon + Delphi

hi! I am looking for a way to be able to control my Canon or Nikon camera from delphi, Basically I need to find a way to receive the new image while the camera is connected with USB on the fly, i.e. detect when a new picture was taken, so I can take action in my application for example cropping the image, adjusting brightness etc etc I...

What is an ideal camera to use with the Java Media Framework?

Is there is a camera that is ideally suited to use with the Java Media Framework? ...

DirectShow USB camera LED flash access

I'm using C++ and need to access a USB camera's LED flash feature. I'm currently using DirectShow to interface with the camera in other ways (live preview stream, grabbing samples, etc.). I found the CameraControl_Flash enumeration element on MSDN, but it appears to be implemented only for Windows Embedded CE 6.0 and Windows Mobile: ht...

UIImagepickercontroller: is it possible to change the sort order of the images in camera roll?

Basically the app im working on would be a lot less of a pain if users didn't have to scroll to the very bottom of their camera roll to get their most recent photos, I want the most recent at the top, wouldn't this make sense anyway? Not sure why apple designed it this way, or if im just not realizing something. Thanks nick ...

Using phone camera via Intent - activity never returns?

I'm using the phone's camera in an Android app to take a photo. I'm using Intents to use the built-in camera application and I'm using the following code: Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File(FILEPATH))); startActivityForResult(intent, ACTIVITY_N...

Need Help regarding Camera Zoom functionality.

I am a Android Developer and working on project where client need camera zoom functionality, first i have created custom activity and preview classes to deal with camera and used zoom functionality which support only in version 2.2, and this also not working correctly, then i decided to use device inbuilt camera functionality using inten...

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

Hi, I need to be able to have AVCaptureVideoDataOutput and AVCaptureMovieFileOutput working at the same time. The below code works, however, the video recording does not. The didFinishRecordingToOutputFileAtURL delegate is called directly after startRecordingToOutputFileURL is called. Now if i remove AVCaptureVideoDataOutput from the AV...

[Android] Rotate of 90 degrees a Dialog / AlertDialog created by the system ?

Does it exist a way to apply a rotation (of 90 degrees) to an AlertDialog that has been created by the system ? This could seem tricky at first sight. My application uses the camera in preview and must work in landscape AND in portrait, starting from Android 1.5. However, when the OS automatically manages the phone orientation, the pr...

Adobe Flash and TWAIN / DirectShow

Usually Adobe Flash applications can access any usb-webcam. I have a USB camera for microscopes which understands TWAIN and DirectShow. Is there a possibility to access the video data from this camera with flash? ...