For my application ( http://tracker-py.googlecode.com ) I occasionally run into symbian API's not being available in PyS60. Sometimes existing modules can be found to fix this problem, but now with the 1.9.x development, many of them need recompilation and sources are sometimes hard to track down.
Anyway, I thought it is about time for me to dive into extension writing myself, and have developed a little module I call 'properties' which basically wraps the RProperty interface into something that can be used from PyS60.
The code can be found here: http://code.google.com/p/tracker-py/...properties.cpp
So far, I've implemented a version that works with EInt type properties. On the emulator I got everything working as expected, however, when running on the target, importing the module seems to cause pys60 to exit without any messages.
Strangely enough, when I remove references to the CPropertyNotifier class (basically commenting out lines 16-85 and 171-174) it does work as expected on the device, but then I have crippled the Subscribe function.
Could someone shed some light on this for me? I'm really puzzled since this works fine on the emulator, and I don't understand how adding the mentioned code could cause an error during the import of the module... I would expect things to go wrong only after calling the subscribe function, or when an event triggers the callback...
This happens on both 1.9.4 and 1.9.5 builds of PyS60.