CameraCaptureDialog

  • Thread starter Thread starter Jack TREVES
  • Start date Start date
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
 
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
 
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.
 
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????
 
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.
 
Back
Top