camera

How can I dismiss a cameraviewcontroller on iPhone sdk?

Hi everyone! I would like to dismiss the camera view, while displaying a modal view, so this would be faster because the camera doesn't display anything. I have set up my cameracontroller this way: self.cameraController = [[[UIImagePickerController alloc] init] autorelease]; self.cameraController.sourceType = UIImagePickerControllerSou...

Restricting Android camera

Hello! Avoiding having to create a whole camera app myself, I am calling up: Intent camera = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); this.startActivityForResult(camera, PICTURE_RESULT); However, the camera is very advanced and beautiful :) but not for my purposes. :( Is there a way to restrict the camera to control size, resolut...

get video timecode using OpenCV?

Hi all, I'm looking for a way to read SMPTE timecode embedded in DV video stream captured from Firewire camera. Can this be done using OpenCV? If not, could you point me to a good sample source code that does this using DirectShow? Thank you, Ben ...

Notify when user clicks the camera button on Windows Mobile

I am a newbie to Windows mobile programming using .net CF. I am writing an application in C# in which I have to save the new image file created to a different folder when the user clicks the camera on the windows mobile phone. I have googled a lot on this, but have not found any solution. Using CameraCaptureDialog class enables/opens the...

How to modify in real time the video stream from the iPhone camera?

Every time the camera of the iPhone captures a new image, I want to modify it and then display it on the iPhone screen. In other way: how to modify in real time the video stream from the iPhone camera? I need a method who is called every time when a new image comes from the camera. Thanks for your help! :-) EDIT: what I want to do is l...

iPhone dev noob question: Invoking action explicitly on application launch

I just started getting into iPhone development. I have been mish-mashing tutorials and material from books in order to get my bearings straight. I come from a PHP and Java background... Objective-C is a bit quirky. But, I learn best by getting my feet wet. Basically, I have these actions. getPhoto is bound to a couple of UIBarButtonItem...

Using an animated UIImageView as an iPhone camera overlay

Like the title says, in the iPhone SDK, I want to create an animated UIImageView and use it as a camera overlay. However, nothing appears. I've been using the same setup to display a static image as an overlay, but when trying to use the following code, no overlay appears: imageView.animationImages = [NSArray arrayWithObjects: ...

how to play native camera sound on Android

I would like to play native camera shutter sound clip on camera preview capture. I'm referring to the sound clip played when takePicture() is called. How could I that? Can someone walk me through the steps? Thanks! ...

Android Camera JpegPictureCallback with varying input data size problem when takePicture() is called

I called takePicture() and pass it a PictureCallback as a JpegPictureCallback. I'm seeing byte[] data input varies in size within onPictureTaken(). Can someone explain why this byte[]'s content size varies? I'm already setting picture size to a constant size with Camera.Parameters.setPictureSize(); Thanks! ...

Bypassing built-in browser authentication when making HTTP calls from embedded Applet.

I have a simple web page with an embedded Java applet. The applet makes HTTP calls to different Axis Cameras who all share the same authentication (e.g. username, password). I am passing the user name and password to the Java code upon launch of the applet - no problem. When I run from within NetBeans with the applet viewer, I get full...

Sometimes UIImageView seems to reject the image taken with iPhone Camera

Hi, it is very strange, because this error doesn't happen all the time... I have the following code: - (IBAction)getPhoto:(id)sender { UIImagePickerController * picker = [[UIImagePickerController alloc] init]; picker.delegate = self; #if TARGET_IPHONE_SIMULATOR picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;...

Android Camera without Preview

I am writing an android 1.5 application which starts just after boot-up. This is a service and should take a picture without preview. This app will log the light density in some areas whatever. I was able to take a picture but the picture was black. After googling like crazy, i came across a bug thread about it. If you don't generate a...

Howto pass intent from Service to the activity

"I am writing an android 1.5 application which starts just after boot-up. This is a service and should take a picture without preview. This app will log the light density in some areas whatever. I was able to take a picture but the picture was black. After googling like crazy, i came across a bug thread about it. If you don't generate a...

Open a camera by clicking on the table view cell in iphone app

How to open a camera by clicking on the table view cell in an iPhone application? ...

Upload a library photo with Android web browser

As is disabled on Android, is it possible to upload a photo from library, in Browser somehow? Camera/Photo Library JavaScript API? Thanks ...

accessing video preview data with iPhone SDK 3.1.2/3

Is there a way to access raw data of iphone camera preview? I mean not the data of the picture that was shot already, but the preview, that shows before taking a shot? TIA ...

iphone camera view with a custom size

Hello, I need to have a preview of the camera but not in fullscreen. Actually I need to resize the camera view to manage place for my overlay view. I need a resize camera view and not a truncated one. Do you have any ideas/pointers to achieve this? Thanks for your help :) Regards, ...

customized iphone camera application

I need to add self timer in iphone customized camera application. any code or support would help ...

setting picture captured by built-in camera into an ImageView

in my app i m calling built in camera for capturing picture but i want to set that picture into an image view following is the code . so what code should i add to it to set the picture into imageview. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Intent i...

small size picture problem

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 and I will appreciate any help: myImageButton02.setOnClickListener ( new OnClickListener() { @Override ...