Click here to get back home

sequence photo in wm 5.0

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
sequence photo in wm 5.0 Rabeeh 03-03-2008
Get Chitika Premium
Posted by Rabeeh on March 3, 2008, 6:03 am
Please log in for more thread options
Hi,

i am using hp ipaq 6965. i wrote a code for accessing the built-in camera
in c# using microsoft visual studio 2005..

the code is as follows (got from msdn.com)



int i = 0;

CameraCaptureDialog cameraCaptureDialog = new CameraCaptureDialog();

cameraCaptureDialog.Owner = this;

cameraCaptureDialog.Title = "Take Photo";

cameraCaptureDialog.Resolution = new Size(640, 480);

cameraCaptureDialog.Mode = CameraCaptureMode.Still;

cameraCaptureDialog.InitialDirectory = "\Storage Card\imgDir";

while (i <5)

{

if (DialogResult.OK == cameraCaptureDialog.ShowDialog())

{

cameraCaptureDialog.DefaultFileName = "img_" +
DateTime.Now.ToString("dd-MM-yy_HH-mm-ss") + ".jpg";

}

i++;

}



My idea was to take 5 photos continuosly.(Sequence photo)

it is working .. but some problems are there.



1. Camera is opening in portrait mode (but i want it to be in landscape mode)



2. Camera is going to standby after 15 secs. (i want to extend this time)



3. To take 5 photos its taking me atleast 3 minutes (Long delay!!!!!)

I don't know how, after taking each photo, the camera is
disappearing and reappearing (Cause of delay...)



is there any way i can reduce the delay??? can i open the camera in
landscape mode??



please help.

Rabeeh



Posted by r_z_aret on March 4, 2008, 12:49 pm
Please log in for more thread options
If you are going to post to multiple newsgroups, please post to all of
them at the same time, so everyone can see and/or participate in the
whole discussion.


On Mon, 3 Mar 2008 03:03:03 -0800, Rabeeh

>Hi,
>
> i am using hp ipaq 6965. i wrote a code for accessing the built-in camera
>in c# using microsoft visual studio 2005..
>
>the code is as follows (got from msdn.com)
>
>
>
>int i = 0;
>
>CameraCaptureDialog cameraCaptureDialog = new CameraCaptureDialog();
>
>cameraCaptureDialog.Owner = this;
>
>cameraCaptureDialog.Title = "Take Photo";
>
>cameraCaptureDialog.Resolution = new Size(640, 480);
>
>cameraCaptureDialog.Mode = CameraCaptureMode.Still;
>
>cameraCaptureDialog.InitialDirectory = "\Storage Card\imgDir";
>
>while (i <5)
>
>{
>
>if (DialogResult.OK == cameraCaptureDialog.ShowDialog())
>
>{
>
>cameraCaptureDialog.DefaultFileName = "img_" +
>DateTime.Now.ToString("dd-MM-yy_HH-mm-ss") + ".jpg";
>
>}
>
>i++;
>
>}
>
>
>
>My idea was to take 5 photos continuosly.(Sequence photo)
>
>it is working .. but some problems are there.
>
>
>
> 1. Camera is opening in portrait mode (but i want it to be in landscape mode)
>
>
>
>2. Camera is going to standby after 15 secs. (i want to extend this time)
>
>
>
>3. To take 5 photos its taking me atleast 3 minutes (Long delay!!!!!)
>
> I don't know how, after taking each photo, the camera is
>disappearing and reappearing (Cause of delay...)
>
>
>
>is there any way i can reduce the delay??? can i open the camera in
>landscape mode??
>
>
>
>please help.
>
>Rabeeh
>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please
indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

Similar ThreadsPosted
does anyone know photo frame capture mode in WM5? October 8, 2005, 8:20 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap