| Reply | « Previous Thread | Next Thread » |
|
It is very bad, that python closes completly as soon as you hit the red key. How could we prevent this?
|
|
This behavior is normal in 3rd phones
![]() You can't prevent it in PyS60 ! But ... if you apply THIS PATCH to PyS60 source code and recompile it you have the wished behaviour ![]() Cyke64 pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
|
hello ,
There's a new solution : use envy module (created by me and release today ![]() Code:
import envy print envy.version print envy.is_app_system() try: envy.set_app_system(1) except: print 'exception !' print envy.is_app_system() print 'now python can't be terminated by red key !' ![]() I hope that this new module could help you Cyke64 pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/
Last edited by cyke64 : 2007-11-15 at 19:20.
Reason: add envy module link
|
|
Many thanks cyke64! It works on E90 and N95. I already implemented into pynetmony. I had to use the unsigned version.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| How to change the functionality of red key on emulator | RaveendraB | Symbian User Interface | 4 | 2007-10-09 11:22 |
| phone app & long press red key | morost | General Symbian C++ | 2 | 2007-09-21 08:51 |
| red key behaviour | davidmaxwaterman | General Symbian C++ | 12 | 2007-06-14 08:37 |
| Red Key | FatalError | Mobile Java General | 4 | 2006-09-08 19:41 |
| problem of pressing red key on Series 40 | yaby | Mobile Java General | 0 | 2005-09-13 05:24 |