How to make visible notification bar (battery info, clock etc.), when I use my java me app?
-
27-04-2021 - |
Question
I have an app (LWUIT, Java Me). When I run the app on device, it occupies the complete screen.
But I want the top panel (notification bar of device) to be visible.
What are the solutions? Are there any settings for lwuit
?
Solution
In J2ME/LWUIT you need to find the current canvas and just call setFullScreenMode(false)
or alternatively enable the native commands (via Display.setCommandBehavior
).
I would recommend against this since the result would look/behave radically differently between devices.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow