Being a hobbyist OPL programmer on Psion Series 5 and Nokia Communicator I'm now doing my 'first steps' with Python. Thanks to this forum with first working results ;-).
I successfully created some small scripts which I up to now executed in the Python environment (1.4.0) on my mobile phone (6120 classic) and in the S60 emulator. Now I wanted to create a standalone application with ensymble (0.23). Creating a SIS file and installing it on the phone (internal memory) worked flawless. An icon appears, I can start the application and the program functionality works as expected. With one exception: closing the standalone application doesn't work. Neither via the right softkey nor via the menu the application can be closed. When I execute the script from inside the Python program both ways to close/exit the script work.
The stripped down 'framework' resulting in the described behaviour:
Ensymble command used to create the standalone application:
appuifw.app.screen = 'normal'
appuifw.app.title = u"CalGCS"
appuifw.app.menu = [(u"Calculate",calculate),(u"About",about),(u"Exit",exit_key_handler)]
app_lock = e32.Ao_lock()
appuifw.app.exit_key_handler = exit_key_handler
Any help would be appreciated, thanks Martin.
ensymble.py py2sis Test.py --lang=GE