开发者

How to avoid a lwuit application restarting after being minimized in java-me

开发者 https://www.devze.com 2023-02-03 09:20 出处:网络
I\'ve created an application with lwuit on java-me, however, each time the user receives a phone call the applications is minimized and when the user restores it, the first Form is shown again (a spla

I've created an application with lwuit on java-me, however, each time the user receives a phone call the applications is minimized and when the user restores it, the first Form is shown again (a splash form). How can I avoid the application from st开发者_如何转开发arting again?


Try overriding onHideNotify() and onShowNotify(), In hideNotify, store the last shown form to a variable and display that in onShowNotify()

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号