Click here to get back home

Phone Book

 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
Phone Book Shrikant 07-04-2005
|--> Re: Phone Book Alex Feinman [M...07-04-2005
`--> Re: Phone Book Alexander Sharg...07-05-2005
Get Chitika Premium
Posted by Shrikant on July 4, 2005, 9:41 pm
Please log in for more thread options
Hi,

How can access phone book ?.I want to find entry corresponding to imcomming
call number(phone number).So, Is there any API that do this job ?

Thanx in Advance.


Posted by Alex Feinman [MVP] on July 4, 2005, 11:57 pm
Please log in for more thread options
You need to use Pocket Outlook Object Model (POOM)
http://msdn.microsoft.com/library/en-us/dnroad/html/road07252001.asp&e=9818
http://msdn.microsoft.com/library/en-us/mobilesdk5/html/mob5samPOOMMaster.asp&e=9818

Specifically you will want to use IPOutlookItemCollection::Find on the
contacts folder to search for "HomeTelephoneNumber=\"18005551212\"


Note that you will need to normalize your phone number before search and
create a query to match it against all kinds of phne numbers (mobile, home,
business etc). I believe that in order to achieve reasonable performance you
will want to preload all contacts into string arrays and use something like
quicksearch to search yourself.


--
Alex Feinman
---
Visit http://www.opennetcf.org

> Hi,
>
> How can access phone book ?.I want to find entry corresponding to
> imcomming
> call number(phone number).So, Is there any API that do this job ?
>
> Thanx in Advance.



Posted by Alexander Shargin on July 5, 2005, 7:36 pm
Please log in for more thread options

If you need to read phonebook entries from SIM card, you will also need to
use functions from SIM API (with Sim prefix) such as SimReadPhonebookEntry.

--
Alexander Shargin
Microsoft MVP in Mobile Devices
http://www.pocketpcdn.com - Pocket PC Developer Network
http://www.smartphonedn.com - Smartphone Developer Network
http://www.rsdn.ru - Russian Software Developer Network


> Hi,
>
> How can access phone book ?.I want to find entry corresponding to
> imcomming
> call number(phone number).So, Is there any API that do this job ?
>
> Thanx in Advance.




Similar ThreadsPosted
Plz help me (phone book ) January 9, 2007, 5:33 am
Address Book July 4, 2005, 7:57 am
Address book example November 8, 2005, 6:51 pm
accessing address book November 7, 2005, 12:15 am
Any good book for develop applications with VB.NET in WM 5.0 ? October 31, 2006, 8:11 am
[Question] How to have a "read only" book mark on a smartphone. September 26, 2006, 9:55 pm
Buy a Cheap Note book Laptop for your personal use July 14, 2008, 2:40 am
Detect phone in 3G or 2G network in phone idle October 9, 2007, 8:30 am
Phone profile July 21, 2005, 4:25 am
How to get the phone model? August 2, 2005, 2:14 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap