You Are Here:

Community: Developer Discussion Boards

#1 Old question - 2009-02-02, 11:19

Join Date: Jan 2009
Posts: 10
pkavita
Offline
Registered User
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.
Reply With Quote

#2 Old Re: question - 2009-02-02, 11:41

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
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 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