| Reply | « Previous Thread | Next Thread » |
|
How to get the received message no. list for a particular date?if possible,give me a code example.plz reply soon.
|
|
Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
You need to use the logs module to check for received messages. The time module is used to convert between various time and date formats.
Here is a blunt code for your requirement. Code:
import logs from time import * l = logs.sms(mode='in') for i in l: date = localtime(i["time"]) if (date[0] == 2009) and (date[1] == 2) and (date[2] == 1): print i["number"] |
| 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 |