Archived:How to get last missed call using PySymbian
This article contains code to get last missed call from the logs using PySymbian.
- Logs Module and globalui module is available in PySymbian 1.4.4 and later.
from globalui import*
appuifw.app.title = u"Log Module" #sets the title for the script
l=logs.calls(mode='missed') #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
- Below is the screenshot for the above code