For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > December 2005 > call history logger









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author call history logger
rikkinos

2005-12-02, 9:36 pm

Hi,

I want to develop an app. which will log all incoming and outgoing calls. I
find the way to catch the call events. But i want the app. to work all the
time like a windows service. Is there a way to achieve this.

Thanks.
riki

2005-12-02, 9:36 pm

rikkinos wrote:
> Hi,
>
> I want to develop an app. which will log all incoming and outgoing calls. I
> find the way to catch the call events. But i want the app. to work all the
> time like a windows service. Is there a way to achieve this.


This is already done by the OS. See PhoneOpenCallLog()

Riki



Stewardesses is the longest word typed with only the left hand.
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
rikkinos

2005-12-02, 9:36 pm

Thank you but user can delete the items from "Call History". The desired app.
will write the log to a file or any other store.

"riki" wrote:

> rikkinos wrote:
>
> This is already done by the OS. See PhoneOpenCallLog()
>
> Riki
>
>
>
> Stewardesses is the longest word typed with only the left hand.
> By Night:
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> By Day: http://www.EmbeddedFusion.com
>

riki

2005-12-02, 9:36 pm

rikkinos wrote:
> Thank you but user can delete the items from "Call History". The desired app.
> will write the log to a file or any other store.
>

ohh ok. there is a little out of my league, alex would have a better
answer - but...

use lineOpen() in monitor mode
Watch for LINECALLSTATE_OFFERING for incoming calls and
LINECALLSTATE_DIALTONE for outbound.

wait for a LINE_CALLINFO, then have a look in LineCallInfoState.CallerID.

riki

We don't want high-rev histrionics in a Jaguar. People might think its
Italian.
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com