H21

Revision as of 25 May 2010 13:09 by Administrator (Comments | Contribs) n

FAQ

I want to add the default Windows Mobile camera interface to my .NET app, so that users can take pictures. How do I do that?

This is easily accomplished by using the Microsoft.WindowsMobile.Forms namespace in your .NET application, and using the CameraCaptureDialog class. You can use an instance of the class to show a dialog that provides exactly the same interface you'd find if you opened the camera from OS. Note that the Microsoft.WindowsMobile.Forms DLL is not part of the .NET Compact Framework by default, and is not present on the H21 by default; you must add it as a reference to your .NET application, and deploy it with your application.