Namespaces
Variants
Actions
(Redirected from How to get last missed call)

Archived:How to get last missed call using PySymbian

Jump to: navigation, search
Archived.png
Aquivado: 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 (08 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 8 May 2013, at 14:40.
229 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved