CameraCaptureDialog

J

Jack TREVES

Hello,

I want to use the CameraCaptureDialog in my application which is running on
an HP Hw6915.

I use the following code :

CameraCaptureDialog CamDial = new CameraCaptureDialog();
CamDial.Mode = CameraCaptureMode.Still;
CamDial.StillQuality = CameraCaptureStillQuality.Normal;
CamDial.Title = "MyApp";
CamDial.ShowDialog();

The dialog show correctly. But I have no way to take a picture ! Thera are
no buttons. I have just a menu to define the parameters of a video (not a
photo).

Is this a bug in the Hw6915 ?

Jack TREVES
 
D

David W

There should be a special button on the side of the device to take the
picture. There is no graphic button on screen.

This is the code I use which looks close enough to yours.

CameraCaptureDialog cameraCapture = new CameraCaptureDialog();
cameraCapture.Owner = this;
cameraCapture.InitialDirectory = @"\Program Files\Mobile\";
cameraCapture.DefaultFileName = "capture.jpg";
cameraCapture.Title = "Take Visit Photo";
cameraCapture.Mode = CameraCaptureMode.Still;
cameraCapture.Resolution = new Size(320, 240);
if (cameraCapture.ShowDialog() == DialogResult.OK &&
cameraCapture.FileName.Length > 0)
Visit.SavePicture(cameraCapture.FileName);

-Dave
 
N

Neil Cowburn

On the HW6915, the button is on the left-hand side of the device, underneath
the volume slider. Press and hold until the image has been captured.
 
G

Guest

How can I capture photos using an hp 6515 and pocket pc 2003 ???
I can't use cameracapturedialog whith pocket pc....
Have you an idea????
 
P

Paul G. Tobey [eMVP]

For devices which are not WM5, there will be a device-specific API, if
anything, for control of the camera. You'll have to consult the device
manufacturer (HP), for information on that.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top