[series60-remote-devel] Improved version of the applet
Brought to you by:
lukashetzi
|
From: Michal Č. <mi...@ci...> - 2011-01-27 12:12:43
|
Hi all I'm adding Gammu support for series60 applet in the phone this week and I've made some changes to the applet while working on it. I would like to avoid forking the code, so it would be great if those changes could be incorporated back to your code base. The changes can be split into few areas: Improving user experience ------------------------- - the applet has menu - port can be configured - provides option to toggle Bluetooth directly Improved error handling ----------------------- The original code started new wait service in case of error. This could lead to quite big recursion. I've changed it in a way that all socket errors are handled toplevel and service is started only from single place. Also the applet did crash in case non existing calendar/contact entry was requested, this is fixed as well. The exception handler for some reason did not list whole traceback, preventing it showing information about errors happening in top level code, I've removed this limitation. Protocol improvements --------------------- I wanted some more functions from the protocol, so I've added these. I don't think it needs much explanation, so just short list: - getting count of entries in the phone - deleting message - making/terminating call - capturing device screenshot - sending list of messages and support for getting single message Code ---- You can find whole diff attached, but I can provide separate changes I've made as well (or are available in Gammu git in case somebody is interested). -- Michal Čihař | http://cihar.com | http://blog.cihar.com |