![]() |
Re: Quick add new task to Calendar?
Quote:
but it is also listening for dbus-signals send by the calendar-backand. Maybe you can send this signals manually. nicolai |
Re: Quick add new task to Calendar?
Hi all.
I can confirm that writing entries directly into ~user/.calendar/calendardb works fine. I have just bought an n900 and wanted to import the datebook from my old Palm Pilot into my new toy. I wrote a Perl script to parse dumps from the Palm and generate SQL statements to run against the database and now have a nicely populated calendar. I didn't need to restart or signal anything. Thanks to Khertan for the suggestion. :) Cheers. Garrick. |
Re: Quick add new task to Calendar?
Quote:
I've been looking for the same functionality for a long time, esp. setting an appointment+alarm from the command line. I don't know why it has to be so difficult! Based on Khertan's response and this thread I was able to make a simple utility to add appointments from command line. Never tried to directly modify the sqlitedb. The source and binary is on github. Binary works for me but otherwise the single file should be buildable if you have the dependencies. See main.cpp for arguments. e.g. Code:
setcalendar --start "2011-01-11 10:20:00" --end "2011-01-11 10:20:00" --name "make phonecall" --desc "whatever description" --loc "some location" --alarm "5min"Forgot to add, by default it looks for a calendar named "Org-calendar". Didn't try to see what happens if you don't have it. You can change it though. |
Re: Quick add new task to Calendar?
Quote:
I have finally gotten around to trying out some C++ and Maemo Dev. My first task is to try to work with the calendar api has you have mentioned. I downloaded the Nokia Qt SDK, which comes with Qt Creator and other things. I loaded up the sample calendar application referenced in this thread by Khertan that is hosted at the Nokia dev forum. http://wiki.forum.nokia.com/index.ph...lendar_example I load the project into the Qt Creator, but it cannot resolve the headers for the calendar api. This includes the CCalendar.h, CMulticalendar.h, CEvent.h, etc. files where the api is defined. Does the Nokia Qt SDK come with the full dev API or am I going to have to use the Maemo SDK itself for this? Thanks! |
Re: Quick add new task to Calendar?
Hm, it does work for me.
I just downloaded the example from http://wiki.forum.nokia.com/index.ph...lendar_example and opened the .pro file with qt creator. No compilation errors the project build fine. If you made your own project, be sure you have this line in your .pro file: PKGCONFIG += calendar-backend Nicolai |
Re: Quick add new task to Calendar?
Thanks! Not sure why it wasn't working. A reboot seems to have fixed it.
|
Re: Quick add new task to Calendar?
Quote:
I finally got my app to work and build in scratchbox. The .deb also installs and works fine on my N900 itself. I uploaded it to Extras-Devel, but the autobuilder fails saying Code:
cd builddir && qmake-qt4 PREFIX=/usr ../maecaltool.proAny thoughts? Thanks so much. |
Re: Quick add new task to Calendar?
Nevermind. I got it!
I added calendar-backend-dev to the debian control file under Build-Depends. It now reads Code:
Build-Depends: debhelper (>= 5), libqt4-dev, calendar-backend-dev |
| All times are GMT. The time now is 11:23. |
vBulletin® Version 3.8.8