Larger contact picture

  • Thread starter Thread starter Jothishankar
  • Start date Start date
J

Jothishankar

Hi,

I am using an iPaq with WM5 Pocket PC phone edition.

I am writing an app in NETCF 2.0 to show full screen caller ID
picture. I am using Microsoft.WindowsMobile class library. When I
pulled the picture from contacts, I was expecting it to be the
original picture size, but it was smaller. Also i could not find the
path (for pictures stored on the device) to the original picture from
the Microsoft.WindowsMobile.PocketOutlook.Contact class. Is there any
way to get the path to the picture? Of not, is there any way to to
increase the picture size stored in contacts, like through any
configuration setting?

I would appreciate any help on this.

Thanks,
Jothishankar
 
The pictures are not stored in the file system but are placed in the
database. They are resized to make them an acceptable size to sync and for
optimum performance. You have two options - draw the image stretched or
don't display it fullscreen, or store your own set of contact pictures
separately from the built in ones.

Peter
 
The pictures are not stored in the file system but are placed in the
database. They are resized to make them an acceptable size to sync and for
optimum performance. You have two options - draw the image stretched or
don't display it fullscreen, or store your own set of contact pictures
separately from the built in ones.

Peter

Thanks for the reply Peter. How do we store our own picture in the
contact? Is it possible to add a new field or do we need to use an
existing field (to set the path for the picture)?

-Jothishankar
 
If you want a larger image you wont be able to store it in the contacts
database because fields in the database have a limited size. Instead you'll
need to create your own database or directory and implement your own way to
match them together, e.g. by the Oid (ItemId in managed code), or something
else unique to each contact like the primary email address or full name.

Peter
 
If you want a larger image you wont be able to store it in the contacts
database because fields in the database have a limited size. Instead you'll
need to create your own database or directory and implement your own way to
match them together, e.g. by the Oid (ItemId in managed code), or something
else unique to each contact like the primary email address or full name.

Peter

Thanks Peter.
 
Back
Top