How can I show status bar on Android ?

I’v try display.setStatusBar,but not work.

can I see status bar on Android in my app ?

thanks. [import]uid: 21680 topic_id: 15608 reply_id: 315608[/import]

anyone know about this ?

or corona sdk just can not show statusbar in android ? [import]uid: 21680 topic_id: 15608 reply_id: 58304[/import]

The status bar is not supported on Android. Currently we set all apps to full screen.

Visit this page to learn more:

http://developer.anscamobile.com/content/building-devices-android#Additional_Notes [import]uid: 13454 topic_id: 15608 reply_id: 58411[/import]

Corona does not support the Android statusbar. It is hidden by default and there is no way for you to display it. That’s just how it is at the moment. [import]uid: 32256 topic_id: 15608 reply_id: 58414[/import]

it’s too bad !

when will we get this function ? [import]uid: 21680 topic_id: 15608 reply_id: 58415[/import]

This feature is low priority right now because there is very little demand for it. Especially since it is a bit more complicated to implement on Android. We would have enable the Android statusbar via the “build.settings” file instead of the Lua script because Android only allows us to enable/disable the statusbar on startup. That means we have no way of enabling off and on dynamically at run time. [import]uid: 32256 topic_id: 15608 reply_id: 58431[/import]

Jason,

Good news! We just added statusbar support to Android. It turned out to be easier to implement than expected. No change to build.settings was needed. This feature will be made available in the next daily build.

You can display a statusbar by calling the following function in Lua…

display.setStatusBar(display.DefaultStatusBar)  

See the following API documentation for more details (not updated for Android just yet).
http://developer.anscamobile.com/node/2470

The only limitation is that Android only supports one kind of statusbar. So DefaultStatusBar, TranslucentStatusBar, and DarkStatusBar will all show the same kind of statusbar on Android. Pass this function HiddenStatusBar if you want to hide.
[import]uid: 32256 topic_id: 15608 reply_id: 59830[/import]

Good job,Joshua !

it’s great ! [import]uid: 21680 topic_id: 15608 reply_id: 59831[/import]

Just to let you know, statusbar support was added to build 633. Our server hasn’t built it yet, but it will be made available soon. [import]uid: 32256 topic_id: 15608 reply_id: 60196[/import]