Re: [Barry-devel] Be a Barry Deputy (or, How to volunteer)
Status: Beta
Brought to you by:
ndprojects
From: Jason T. <ja...@de...> - 2009-07-14 23:12:13
|
It looks like we should check for the "-All" database and if it exists sync it, otherwise use the other one. Would this not then cover both new and old phones, ones with "-All" and ones without. On Tue, 2009-07-14 at 21:54 +0200, Nicolas wrote: > Le lundi 13 juillet 2009 à 16:57 -0400, Chris Frey a écrit : > > On Sat, Jul 11, 2009 at 11:10:21AM +0200, Nicolas wrote: > > > * Database: 0x2c 'Calendar - All' (records: 29) > > > * Database: 0x3d 'Calendar' (records: 29) > > > * Database: 0x41 'Address Book - All' (records: 126) > > > * Database: 0x49 'Address Book' (records: 126) > > > > Just to clarify: > > > > It seems that your "- All" databases are being synced via the plain > > databases. There is no support in Barry for the ones named "- All". > > "- All" databases are usefull if you have several mail accounts set. > > Sample, I have an account : > ni...@co... > ni...@pe... > So I have two databases about Calendar and two databases about Address > Book (for each mail account of course). > "- All" permits to see all data. > > With Barry... I have to set "Address Book - All" to sync with Evolution. > > So I have a little patch : > > GetChanges(sink, info, ctx, env, &env->m_ContactsSync, > - "Address Book", "contact", "vcard30", > &VCardConverter::GetRecordData, > slow_sync); > > GetChanges(sink, info, ctx, env, &env->m_ContactsSync, > + "Address Book - All", "contact", "vcard30", > &VCardConverter::GetRecordData, > slow_sync); > > To be perfect, we should have to put the database name in the XML config > file. > So all address book is sync with Evolution (or others) > > > There is an other solution. We can also define two OpenSync's groups. > $ osynctool --sync BBPersonnal > <= Evolution : file:///home/nicolas/.evolution/addressbook/local/system > <= Barry : Database : Address Book 1 > $ osynctool --sync BBProfessionnal > <= Evolution : file:///home/nicolas/.evolution/addressbook/pro/system > <= Barry : Database : Address Book 2 > > > Same things for events. > > > > As far as, I'm concerned I don't use several accounts on my BlackBerry. > I have set a mailbox and in this mailbox I have all mails... > Why ? > Because, from blackberry device, I can't move an event or contact from > database1 to database2. When you add a contact or event, you can't > choose the address book (or calendar). > The Java API doesn't permit to manage several databases. > > Also, RIM's tools for Windows don't know manage several databases :) > > > Regards, > -- Jason Thomas |