PC Review


Reply
Thread Tools Rate Thread

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

 
 
=?Utf-8?B?RnJlZGR5Ym95?=
Guest
Posts: n/a
 
      9th Jun 2005
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/U...nagedCode.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
 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      9th Jun 2005
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

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

"Freddyboy" <(E-Mail Removed)> wrote in message
news:3474F3DD-8952-49F5-94E0-(E-Mail Removed)...
> 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/U...nagedCode.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



 
Reply With Quote
 
=?Utf-8?B?RnJlZGR5Ym95?=
Guest
Posts: n/a
 
      9th Jun 2005
Ok Peter Thank you for your answer.

Best Regards

"Peter Foot [MVP]" wrote:

> 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
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://www.peterfoot.net |
> http://www.opennetcf.org
>
> "Freddyboy" <(E-Mail Removed)> wrote in message
> news:3474F3DD-8952-49F5-94E0-(E-Mail Removed)...
> > 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/U...nagedCode.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

>
>
>

 
Reply With Quote
 
=?Utf-8?B?am9l?=
Guest
Posts: n/a
 
      3rd Aug 2005
Hi Peter,
How can I contact HTC for use the API

Thanks,
joe

"Peter Foot [MVP]" wrote:

> 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
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://www.peterfoot.net |
> http://www.opennetcf.org
>
> "Freddyboy" <(E-Mail Removed)> wrote in message
> news:3474F3DD-8952-49F5-94E0-(E-Mail Removed)...
> > 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/U...nagedCode.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

>
>
>

 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      3rd Aug 2005
You could try two routes - either contact HTC directly, from their website
they list the email address (E-Mail 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

"joe" <(E-Mail Removed)> wrote in message
news:A92CCBA1-664C-49DD-836A-(E-Mail Removed)...
> Hi Peter,
> How can I contact HTC for use the API
>
> Thanks,
> joe
>
> "Peter Foot [MVP]" wrote:
>
>> 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
>>
>> --
>> Peter Foot
>> Windows Embedded MVP
>> http://www.inthehand.com | http://www.peterfoot.net |
>> http://www.opennetcf.org
>>
>> "Freddyboy" <(E-Mail Removed)> wrote in message
>> news:3474F3DD-8952-49F5-94E0-(E-Mail Removed)...
>> > 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/U...nagedCode.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

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?RnJlZGR5Ym95?=
Guest
Posts: n/a
 
      4th Aug 2005
Hi Joe,

you can send an email to that adress to ask API : (E-Mail Removed)
Orange will explain you what you will do to obtain API

Best Regards


"Peter Foot [MVP]" wrote:

> You could try two routes - either contact HTC directly, from their website
> they list the email address (E-Mail 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
>
> "joe" <(E-Mail Removed)> wrote in message
> news:A92CCBA1-664C-49DD-836A-(E-Mail Removed)...
> > Hi Peter,
> > How can I contact HTC for use the API
> >
> > Thanks,
> > joe
> >
> > "Peter Foot [MVP]" wrote:
> >
> >> 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
> >>
> >> --
> >> Peter Foot
> >> Windows Embedded MVP
> >> http://www.inthehand.com | http://www.peterfoot.net |
> >> http://www.opennetcf.org
> >>
> >> "Freddyboy" <(E-Mail Removed)> wrote in message
> >> news:3474F3DD-8952-49F5-94E0-(E-Mail Removed)...
> >> > 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/U...nagedCode.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
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Take picture with Camera and send picture to device through BT tony Microsoft Dot NET Compact Framework 2 27th Dec 2008 05:54 PM
USB2.0 Camera says this device can perform faster chadwpeterson@gmail.com Windows XP Hardware 7 15th Apr 2008 08:51 AM
picture preview is different than the actual picture =?Utf-8?B?am9lYXRtYW5pbGE=?= Windows XP Photos 1 5th Aug 2006 03:51 AM
Is it possible to Preview in Picture & Fax Viewer, but Edit in Picture It! Pro 9??? Melissa Windows XP Photos 10 13th Jan 2004 03:14 AM
NetMeeting, camera preview Sean Flanderhijn Windows XP Messenger 1 25th Dec 2003 09:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:33 PM.