Jump to content

How to use the phone API ?


Recommended Posts

Guest cyberfred38
Posted

Hi,

I would like to get the list of the phone call stored in the SPV to build my own call tracking application. I'm using the Phone API functions, but the PhoneOpenCallLog always fails.

Does anyone know if this API has been implemented on the SPV ? Any idea ?

Thanks,

Cyberfred

Guest HelloDave
Posted

Is it a priveliged API? I wouldn't have thought so, but it could explain why the call always fails.

Guest cyberfred38
Posted

Harshaw from the Smartphone Developer Network forum gave me a work around :

Hi,

Unfortunately the phone call log API's appear to be broken. However, there is a backdoor mechanism which is actually much better! Most of the information stored on the SPV is persisted in CE databases. You simply need to use the database API's (search for CeOpenDatabaseEx) and access the database "clog.db". You can also use the database API's to notify you when new call history is generated. BTW, this mechanism also works for accessing the POOM database and email inbox.

I highly recommend the to DBView tool located at http://www.smartphonedn.com/libraries/dbviewsp.htm. Download it and explore clog.db to figure out the relevant columns for your application.

Hope this helps!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.