| Reply | « Previous Thread | Next Thread » |
|
code:
import appuifw,logs d=appuifw.query(u"type a date:","date") m=logs.calls(mode='in')[0] print m["number"] The above code will 1st take date from user & store it in d &then it give most recent incoming call number.now,if i want incoming call number for a date that is stored in d in 2nd line,then what will be the code? plz reply soon. |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
Check the date entered by the user against the date of the call.
Code:
import appuifw,logs, time d=appuifw.query(u"type a date:","date") m=logs.calls(mode='in')[0] if time.localtime(m["time"])[0:3]==time.localtime(d)[0:3]: print m["number"]
Last edited by bogdan.galiceanu : 2009-02-02 at 18:15.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Annoying question when dialing by bluetooth | tejohf | Bluetooth Technology | 0 | 2003-09-04 20:56 |
| Newbie question: What is the call stack? | advocatee | General Symbian C++ | 2 | 2003-06-22 06:27 |
| my question is a question about the NOKIA MMSC EAIF EMULATOR. | tinduc | General Messaging | 1 | 2003-04-14 04:14 |
| i'm using the nokia mobile internet toolkit 3.1, and i have a question | tinduc | General Messaging | 0 | 2003-04-07 10:52 |
| question deleted | kiokups | General Messaging | 1 | 2002-09-25 21:07 |