Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

(Redirected from How to get last missed call)

Archived:How to get last missed call using PySymbian

From Wiki
Jump to: navigation, search

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

This article contains code to get last missed call from the logs using PySymbian.

Article Metadata
Tested with
Devices(s): N70, N95 8gb
Compatibility
Platform(s): S60 2nd edition, 3rd Edition
Article
Keywords: logs, globalui
Created: User:Kandyfloss (23 Mar 2008)
Last edited: hamishwillee (31 May 2013)

Contents

Preconditions

  • Logs Module and globalui module is available in PySymbian 1.4.4 and later.

Code Snippet

import logs
from globalui import*
import appuifw
 
appuifw.app.title = u"Log Module" #sets the title for the script
 
l=logs.calls(mode='missed')[0] #Use 'in' and 'out' for other entries instead of 'missed'
t = l["number"]#Returns the value for the entry "number"
 
global_msg_query(u""+t,u"Last Missed Call",7) #gives a global query with last missed call

Postconditions

  • Below is the screenshot for the above code

Screenshot0098.jpg

See also

This page was last modified on 31 May 2013, at 01:09.
38 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×