You Are Here:

Community: Developer Discussion Boards

#1 Old How to find if there are any calendar entries now - 2009-03-11, 10:43

Join Date: Feb 2009
Posts: 11
vijaynag
Offline
Registered User
Hi,

I want to know if there any calendar entries on the phone at present.
I basically want to know if I am free or busy reading the calendar entry.
Can you please help!
Thanks
Reply With Quote

#2 Old Re: How to find if there are any calendar entries now - 2009-03-11, 12:34

Join Date: Feb 2009
Posts: 11
vijaynag
Offline
Registered User
I have the below code to get all the calendar entries for today and print them.
But I am not able to figure out how to run through the list of entries.
Currently I am facing issues with the line marked in red. please help

now = time.time()
cal = calendar.open()
day_all = cal.daily_instances(now)
for id in cal[day_all]:
e = cal[day_all['id']]
print e.type, strftime('%b %d %H:%M', localtime(e.start_time))
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
Unablel to find the correct number of call entries from callLog? s_mehdi76 Symbian Networking & Messaging 1 2009-10-21 09:17
Where to find basic calendar and clock icons? kaplasj Symbian User Interface 1 2008-04-23 12:55
how to read read and write the calendar entries Basu Mobile Java General 2 2007-12-13 11:22
N80 calendar entries restore (after firmware update) levnrg PC Suite API and PC Connectivity SDK 1 2007-02-04 16:02
Where can I find a sample of program that access Address book and Calendar infos d_souleymane General Symbian C++ 1 2004-04-05 14:22

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ