Le vendredi 03 avril 2009 à 16:09 -0400, Chris Frey a écrit : > On Fri, Apr 03, 2009 at 10:50:05AM +0200, Nicolas wrote: > > I post again the patch 0002, (the file isn't readable) > > I've applied all your pending patches for adding Photo support and > the USB sequence packet fix, along with a few changes of my own.
By the way, for the try catch from vcard/vevent... The patch is usefull only if AddRecord / SetRecord failed. builder function converts data to BlackBerry format, but if the result isn't understood by the device (sample, the photo isn't correctly encoded), AddRecord / SetRecord returns an exception. So you exit opensync roughly... And you have to make a slow-sync. In using this try/catch, I can ignore the error and skip the vcard/vevent mal formed and avoid the slow-sync. It isn't very important, because we don't have to get error ! > I'm less and less happy with how the sequence packet code is turning out. :-) > It is filling up with special cases, and the flag approach is broken > if there is an exception in between setting it to false and true. I have seen your changement about the sequence process. We are starting to understand the USB protocol ; so we may to find an other cleaner solution to manage this process. > I'm still pondering how to fix it though. Thanks very much for your help > on getting this to work on the Storm! Thanks... I'm very happy and amazed of our results. It's very great. I haven't windows and I don't know how use it :) so if I want to use my BlackBerry Storm... I have to work for this :) 0.15 is near production. I'm seeking a new feature... Maybe notes and tasks synchronization feature. I think also that I'm going to prepare USB logs about the debug feature for the Java developer (of course, if I understand the USB protocol). If you need some features or help for a particular features ; you can ask me. And if I can help you... Regards, -- Nicolas VIVIEN ------------------------------------------------------------------------------ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel