| Reply | « Previous Thread | Next Thread » |
|
I've read it is possible to create more than one calendar db on a phone, but when I try to create a new calendar db on my E65,
new_cal=calendar.open('u"E:\\Python\\cal_test_db.cdb"','n') I get nothing works. Where is my mistake? |
|
Quote:
Code:
new_cal=calendar.open('cal_test_db.cdb','n')
Croozeus |
|
Ok, in this way I get no errors, but if when I add some appointment they are not shown in my agenda.
|
|
Quote:
The entry gets added when calling the function add_new_entry() Code:
def add_new_entry():
new_entry=db.add_appointment() # new appointment.
new_entry.set_time(now+week,now+week+hour)
new_entry.alarm=now+week-5*minute
new_entry.content='the meeting'
new_entry.location='conference room 01'
new_entry.replication='private'
if e32.s60_version_info[0]>=2:
new_entry.priority=1 # high priority.
new_entry.commit()
add_new_entry()
print 'Current Entries:%i'%len(db)
Best Regards, Croozeus |
|
I already got it to works.
I know that my cal_test_db.cdb has 6 entries now, but I would like to access them through the agenda of my E65. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Help! PC-Suite does not restore Calendar on 6610i | unifav | General Discussion | 1 | 2007-05-18 07:41 |
| Help! PC-Suite does not restore Calendar on 6610i | unifav | PC Suite API and PC Connectivity SDK | 0 | 2007-05-14 15:55 |
| How to avoid insertion of duplicate entries in device calendar?? | symnewbie | General Symbian C++ | 1 | 2005-10-27 23:52 |
| Problem in Deleting all the calendar entries? | symnewbie | General Symbian C++ | 0 | 2005-06-17 15:19 |
| 9210 calendar compatible with Outlook calendar ?? | andre456 | Symbian User Interface | 0 | 2002-09-25 20:25 |