Reply
Thread Tools
Posts: 67 | Thanked: 24 times | Joined on Dec 2009 @ Helsinki Finland
#11
Originally Posted by Andre Klapper View Post
Feel free to vote for http://maemo.org/community/brainstor...endar_in_n900/ solution 30 and feel free to vote for https://bugs.maemo.org/show_bug.cgi?id=5502 .
Hi Andre,

I voted already earlier. I'm not asking a solution right away, I'm more concerned that this kind of crucial functionality is missing and haven't seen any activity from the vendor.

Calendar search is probably easier to make, email cna be trickier.
 
Posts: 67 | Thanked: 24 times | Joined on Dec 2009 @ Helsinki Finland
#12
Originally Posted by daperl View Post
I think this might be one area where the community can actually do something about it. I thought the email client was open source, including the UI. Maybe I'll take a peek at it today; I've been looking for a database app to sink my teeth into.
My understanding is that calenda rdata is in sqllite db..
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#13
Full text search is its own animal with its own type of indexes, and when you throw in dynamic changes, it becomes that much more complex. But the tracker might be able to help maintain these data structures in real time.

Each non-stop word maintains its own list of every place it appears. System wide. It's not app specific. Anyway, a very interesting problem that has been solved before, and could be fast on the n900.
__________________
N9: Go white or go home
 

The Following 2 Users Say Thank You to daperl For This Useful Post:
Posts: 67 | Thanked: 24 times | Joined on Dec 2009 @ Helsinki Finland
#14
Yep, full-text indexing is science of it's own.., I've worked years with Lucene.

Calendar uses sqlite, I'll play with my calendar db to get the table structure out and try some sql to fetch specific content out.

Drop me a private mail, this could be interesting thing
 

The Following 2 Users Say Thank You to oneFinn For This Useful Post:
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#15
Rather than working directly with calendardb, it might be worth seeing if there's a documented API you could use, as that might save a bit of research (and a bit of breakage if they change the table structure but keep the API). A quick Google finds http://maemo.org/api_refs/5.0/5.0-fi...annotated.html but I don't know if it's current.
 

The Following 2 Users Say Thank You to pelago For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#16
I prefer to brainstorm in an open forum. If you want to quickly get a schema, sqlite3 should already be on your device, so you can do the following:

sqlite3 <db>
.tables
.schema <table>

Also, fts should be part of the sqlite source, but I don't think it's built by default.
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
gLobster's Avatar
Posts: 203 | Thanked: 47 times | Joined on Jun 2007 @ St.Petersburg, Russia
#17
its build and work
__________________
Nokia's 6151|N900
 
Posts: 67 | Thanked: 24 times | Joined on Dec 2009 @ Helsinki Finland
#18
Originally Posted by pelago View Post
Rather than working directly with calendardb, it might be worth seeing if there's a documented API you could use, as that might save a bit of research (and a bit of breakage if they change the table structure but keep the API). A quick Google finds http://maemo.org/api_refs/5.0/5.0-fi...annotated.html but I don't know if it's current.
You are right, the problem for me is that I'm not a programmer though I work in IT business.
I'd think that calendar data even in the worst case is relatively small, so using sql to locate items matching a search string could (at least) to be a starting point.
What would be neat is that the search would list results categorized by context (like description, birthday, event name etc.) sorted by date, for example.
Otherwise we'd need a separate search index that should be kept in sync with changes in calendar DB.
 
TomJ's Avatar
Posts: 505 | Thanked: 665 times | Joined on Oct 2009
#19
Originally Posted by volt View Post
For me, the first thing I wanted to add to my calendar was a reminder to take out the trash. Simple repetitive tasks. Every/every second/every fourth tuesday. Calendar fails me.
Actually, the backend calendar is almost certainly capable of this, even if the interface isn't capable of inputting it. Try creating the events with these repetitions in Outlook (or calrndar app of your choice which can then), save the event as an .ics file and email it to your n900. Open the attachment and it will be impolrted to your Calendar with the repetition you set. Don't try and edit it on the n900 though, as it will save it with one of the periodicities the front-end can handle. I have this working for a number of 4-weekly repetitions, and assume it will work for other periods. Not ideal, I realise, but it at least gets the alarm repeat you want on the device.
__________________
Want to know how to add public holidays to your device calendar? See the instructions wiki page.

Want to improve the location bar's search capabilities? there's a wiki page for that too...

Last edited by TomJ; 2010-03-31 at 17:21. Reason: tyop
 

The Following User Says Thank You to TomJ For This Useful Post:
Posts: 67 | Thanked: 24 times | Joined on Dec 2009 @ Helsinki Finland
#20
I did some testing with sqlite and calendar db. I downloaded mmy db to PC and used sqlite3 cmd tools (win). Most important data from search perspective are in calendars and components tables. Calendars keeps track of all calendars and components holds all dates descriptions and summaries etc.

Sqllite supports SQL's LIKE operator, so I was able to query the db with wildcards. Pretty easy to find, say, birthdays or meeting dates with certain customer.

I didn't find docs about date/time formatting (stored as integers).
 

The Following User Says Thank You to oneFinn For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 03:46.