Camera

Send Feedback

This code sample is named CECamera. It demonstrates how to use the native Camera Capture API. The application allows you to take still pictures and video clips.

Feature Area

Relevant APIs

Usage

To run the code sample

  1. Navigate to the solution file (*.sln), and double-click it. By default, the solution files are copied to the following folders:

    C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Cecamera\CECamera.sln

    C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\CPP\Win32\Cecamera\CECamera.sln

    C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\Cs\Cecamera\CECamera.sln

    C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\Cs\Cecamera\CECamera.sln

    Microsoft Visual Studio 2005 launches and loads the solution.

  2. Build the solution (Ctrl+Shift+B).

  3. Deploy the solution (F5).

To use the application

  1. Specify the options you want in the dialog box.
  2. Press Start to launch Camera application.
  3. Begin taking pictures or videos.

Remarks

It is assumed that you have a camera-equipped Pocket PC or Smartphone.

Requirements

Pocket PC SDK: Windows Mobile 5.0 Pocket PC SDK.
Smartphone SDK: Windows Mobile 5.0 Smartphone SDK.
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.0.

See Also

Code Samples | SHCameraCapture | SHCAMERACAPTURE | CAMERACAPTURE_VIDEOTYPES | CAMERACAPTURE_MODE | CAMERACAPTURE_STILLQUALITY | Camera Capture Graph | CameraCaptureDialog Class

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.