[C#] Use a HTC Camera to perform a preview and take a picture

G

Guest

Hi,

I'd like to use a htc camera to take some pictures and to perform a video
capture (preview).

I know the Neil Cowburn's dll
(http://blog.opennetcf.org/ncowburn/UsingTheIntegratedCameraInHTCDevicesFromManagedCode.aspx) but that dll is starting a new process (Camera.exe).

I'd like to use a dll to develop a preview in my application (without
starting a new process) and to take some pictures in my application.

Somebody knows if a dll exists to execute a preview ?
If yes, where I can find that dll ?

Thanks.

Best Regards
 
P

Peter Foot [MVP]

This is currently the only way to do it in managed code - it interops with
the IACamera application. There is an API available (you'll need to sign an
agreement with HTC to use it) which gives you lower level access, but it
requires callbacks so would need to be written in native code. Windows
Mobile 5.0 will be much better in this respect as there is a unified camera
API including a managed class for image capture.

Peter
 
P

Peter Foot [MVP]

You could try two routes - either contact HTC directly, from their website
they list the email address (e-mail address removed).
Alternatively you could approach the distributor of the device (since all
HTC devices are sold through a brand or network). For example Orange can be
contacted via the orange partner program - www.orangepartner.com. They will
give you an NDA which you can forward to HTc to get the SDK.

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net |
http://www.opennetcf.org
 
G

Guest

Hi Joe,

you can send an email to that adress to ask API : (e-mail address removed)
Orange will explain you what you will do to obtain API

Best Regards
 

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