BlackBerry Java detects screen foreground events
•
Java
In my BlackBerry application, I have a home screen The user can then navigate to the settings screen When the user returns to the home screen, is there no method called on the home screen to indicate that the screen has reached the foreground?
I tried onfocus () to no avail
thank you!
Solution
You should be able to use protected void onexposed() to detect when it displays again
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码