How to access contacts informatioon from mobile.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajeshgubba
    New Member
    • Jul 2008
    • 4

    #1

    How to access contacts informatioon from mobile.

    Hi,

    Can anybody help me how can use the contacts data present in mobile.?

    thanks,
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    You can try searching for POOM.

    Comment

    • rahulsengar
      New Member
      • Oct 2008
      • 6

      #3
      hey if you are using WIndows mobile 5.0

      You have to add this dll i.e add the reference
      Microsoft.Windo wsMobile.pocket outlook in your application

      You can use this set of code to know the information on what contacts are present on your mobile

      OutlookSession _ContactSession =new OutlookSession () ;

      for (int i = 0; i < _ContactSession .Contacts.Items .Count; i++)
      {
      if (CopyPhoneNumbe r == _ContactSession .Contacts.Items[i].MobileTelephon eNumber)
      {

      index++;
      textBox1.Text = _ContactSession .Contacts.Items[i].FirstName;
      }
      else
      {
      continue;
      }
      }

      Comment

      Working...