Categories: Python | S60 | Code Examples | How To
This page was last modified 07:49, 26 June 2008.
How to prevent python closing on red keypress
From Forum Nokia Wiki
The simple code snippet in PyS60 will help all developers to prevent python closing on a red keypress.
import sys, e32, appuifw lock = e32.Ao_lock() def myexitfunc(): s = appuifw.app.screen appuifw.app.screen = 'large' appuifw.app.screen = s lock.wait() sys.exitfunc = myexitfunc
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The Alert turn off when keypressed | lekboon | Mobile Java General | 0 | 2004-10-20 06:01 |
| System error (-2) meet as soon as start Python Application | wilen_ding | Python | 2 | 2007-09-13 19:32 |
| How to minimize python app? | fightersoft | Python | 9 | 2007-01-03 18:59 |
| few questions about console application | reuvend | General Symbian C++ | 5 | 2008-07-17 10:31 |
| keyPress - keyRelease | hhenne | Mobile Java General | 4 | 2003-09-26 05:29 |
