| Reply | « Previous Thread | Next Thread » |
|
Hi,
I have a running standalone (ensymbled) app on the phone. I switch to some othe app (e.g. fexplorer), then I come back to my app. When I try to exit I get the mentioned panic. I test this issue on a really simple app now, like Code:
import appuifw, e32
def exit_key_handler():
app_lock.signal()
appuifw.app.exit_key_handler = exit_key_handler
appuifw.app.title = u'whatever'
appuifw.app.body = appuifw.Text()
app_lock = e32.Ao_lock()
app_lock.wait()
appuifw.app.set_exit()
Thanks very much for any possible interest ![]() whatever happens happens |
|
Hello janekw
![]() I cant get the type of app u r building,I mean the utilty.Is is for an exit handler? or for back/fore switching... Please specify... -Pankaj Nathani ![]() |
|
I don't get you... What my app does is meaningless, my point is such fairly standard code causes panic when you come back to the app from whatever another app on the phone and when you exit yours. At least when it's a standalone - 'sised' with 'ensymble' utility, like in http://wiki.forum.nokia.com/index.ph...e_Applications
whatever happens happens |
|
Quote:
Based on this: http://discussion.forum.nokia.com/fo...p/t-21240.html Adding these magical lines: Code:
PrepareToExit(); DeactivateActiveViewL(); oExit()" method in file "Python_appui.cpp" seems to solve the problem at least in emulator (before the "finalizeappuifw" call).Thanks for your detailed report. |
|
To tell the truth I didn't notice it on the emulator, but I'll take your word for it, submit the bug to SF and let god (jplauril) sort'em out.
whatever happens happens |
|
Otsov, your solution works also on the device, I can confirm it.
whatever happens happens |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| ViewSrv 11 panic : when menu button of 7650 is pressed on an active app | nitinkumar | Symbian User Interface | 6 | 2008-12-09 20:20 |
| Using Bluetooth serial port in MIDlets (nokia 9500 issue) | orsteglasy | Mobile Java Networking & Messaging & Security | 11 | 2007-10-07 22:49 |
| Panic: ViewSrv 9 | Dkr | General Symbian C++ | 4 | 2005-05-13 03:50 |
| S60 panic box, ViewSrv 11 | Stengun | Mobile Java General | 5 | 2004-04-26 22:34 |
| Why does the ViewSrv (view server) panic occur? Has it something to do with the base? | prbhat | Symbian User Interface | 2 | 2004-02-05 13:12 |