user1297122
user1297122

Reputation: 33

Access HTC wm6.5 camera using .NET

Well i have a htc diamond 2 which run on wm6.5, I would like to access the built in camera to capture image. I am not building wm app, i want to build a c#(or any other .NET) winform app that run on windows 7 platform. Is that possible? I found some articles about directshow.net,wia,windowsmobile camera capture dialog etc.But i really have no idea on how to start it. So my question is:

  1. How do i establish a connection to my phone(i have to initiate a connection between my pc and phone's camera first right?),do i need to download any windows mobile sdk?
  2. To control the camera, do i need any driver installed?
  3. Do i use htc camera api/sdk(which i can't find) or windows mobile api/sdk to control the camera?

Upvotes: 0

Views: 631

Answers (1)

Marcin
Marcin

Reputation: 3262

For HTC devices DirectShow cannot be used. The problem is that HTC provides only basic DirectShow API, and you will be able only use very small resolution from camera 320x240. HTC doen't provide any SDK. But I found very useful components for Windows Mobile Direct Show on this page. They are paid but quite good. I think it is worth to check. I'm using Player Control for DirectShow video playing. And there HCTCamera component (Some raw version I think still free) which I didn't check but you can:

HTCCamera Control

Upvotes: 1

Related Questions