PDA

Click to See Complete Forum and Search --> : [RESOLVED] How can I get missed calls numbers ( Windows Mobile )


ashraf fawzy
Mar 12th, 2010, 02:11 AM
Hey all ....

I need to know how to get the Missed Calls numbers in windows mobiles .
(Calls History)

I tried to use : -

SystemState.PhoneMissedCalls

But it only returns the number of Missed Calls .


I heared about PhoneOpenCallLog , but I don't know how to use it , is there
any example that uses this function.


I'm using Visual Studio 2008 pro , Visual Basic



Many thanks in advance , And I hope I'm asking my question in the right section.

petevick
Mar 12th, 2010, 07:41 AM
HI,
try this article (http://msdn.microsoft.com/en-us/library/aa446550.aspx) towards the end. There is a sample program in the article too.

ashraf fawzy
Mar 12th, 2010, 10:42 AM
Many thanks petevick for your help ,

I tried this code before , but I couldn't figure out how to use it , and today I gave it
another shot , but I ended up to the same result , I don't know how to use the Phone
class into my program .

If you can give me a start , It will be appreciated.


By the way , I'm trying to make a (Missed calls reminder) , so I need to read the log
entries .

Many thanks in advance.

ashraf fawzy
Mar 18th, 2010, 03:24 AM
I used 3rd party library which solved the problem of getting the MissedCall Numbers

( CECallLog ) , some other people use ( OpenNetCF ) library ..... Both of them are free.

Many thanks petevick for your help.

rothj0hn
Mar 18th, 2010, 04:27 AM
Does your application display missed calls even if they were already deleted in the call history?

ashraf fawzy
Mar 18th, 2010, 09:40 AM
Hi rothj0hn ....

If the user " Dismissed " the missed call , or cleared the call history , the function return 0 (Zero) if you

use PhoneMissedCalls (It returns the number of missed calls)

and return False if you use PhoneMissedCall ( It informs you if you have new missed call or not , And ofcourse as long as you have missed call in your Call Log , it alawys returns True ).

I hope that helps.

rothj0hn
Mar 18th, 2010, 09:06 PM
i just wondering if there is possibility to retrieve all calls even if they have been deleted in the call history.

Thanks for the INFO.