CameraCtrlPtx: C/C++ API, C# API, and ActiveX camera control

This software project demonstrates how to control/operate an onboard camera programmatically (via DirectShow rather than Psion Teklogix’s ICS SDK).

Specifically, this project generates a native windows control that can be included into any windows project. The control drives the camera, and allows users to put the camera into ‘preview’ mode, followed by taking a still photo.

Control over the camera settings (trigger control, resolution, flash on/off) is available by user interaction (tapping on the control) or by API.

====================================

Version 3 Changes:

  • The project is built against MDSDK 5.2 rather than 3.4
  • An overlay feature was added to the API (adding a special type of bitmap/gif that helps with positioning). NOTE:  When using within Internet Explorer, the overlay may not display unless the control is set to the top/left of the screen.  See the source code governing the DrawOverlay thread for more details.  Both the CPPTest and the jsCameraCtrlPtx.htm implementation show users how to use/invoke the Overlay feature (installed via the .Cab).
  • An Active X Control was added to this project to allow users to add the window to a hosted ATL dialog for use in Internet Explorer.  There is a sample HTML file that is installed to the device that will outline how to use the ATL control.
  • Faster previewing/picture taking feature was added, for those that want to take rapid pictures (Without the need to draw the picture to the screen).  The CsharpDemo show users how this works.

Version 4 Changes:

  •  Updated to use MDSDK 5.4
  •  CsharpTest has a MenuBar, which allows you to exit the application from Windows Mobile 6.5
  •  You can save files a .JPG now (before a data abort would occur)

Comments
  • re: CameraCtrlPtx (DEMO)

    Bear in mind that this demo software illustrates how to control the built-in Camera - a.k.a. ALPS - of our IKON Windows Mobile 6.x product range.

  • re: CameraCtrlPtx (DEMO)

    Yes I've tried CameraCtrlPtxNet.dll in the past, but Preview refresh with all presets is very very slow.

    Than I decided to use DirectShowNETCF that is perfect, fast and simple to program, but only flashon & flashoff commands doesn't work.

  • re: CameraCtrlPtx (DEMO)

    Please be careful using this control on the EP10. On Pre V2.0.x Revisions the control works as-is.

    If using V2.0.x and you choose the defailt resolution, a known DirectShow bug (that will be fixed) will cause the COntrol and the App to Lockup. Choose "Very High" and if the control works, than you will need to update the Add-On .CAB for your firmware. Or update to the Latest Firmware Version.  -sean