You Are Here:

Community: Developer Discussion Boards

#1 Old question - 2009-02-01, 15:28

Join Date: Jan 2009
Posts: 10
pkavita
Offline
Registered User
How to get the received message no. list for a particular date?if possible,give me a code example.plz reply soon.
Reply With Quote

#2 Old Re: question - 2009-02-01, 16:20

Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
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"]
I suggest you read about the time module here and the PyS60 Library Reference, logs section here. And you can find a few examples on how to use logs here.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia