Soft Buttons on Android 4

Recently installed my prototype app on a tablet running Android 4.0.3.

This tablet has no physical buttons. When I run my app, there is no way to escape from it. The toolbar that provides the buttons for ‘back’ and ‘home’ does not appear. The only way I have found is to reboot the tablet.

How do I deal with this situation? Is there something special I must put in my code?

Thanks,
Fritz [import]uid: 157797 topic_id: 29473 reply_id: 329473[/import]

UPDATE: This may be a non-issue. I’m not sure why, but I recently installed my proto app on that same tablet, and it doesn’t have any such problem. Might be a bug in the tablet OS or something. It’s a rather cheesy knockoff. [import]uid: 157797 topic_id: 29473 reply_id: 118716[/import]

That definitely sounds like a bug on the tablet. No Android app has the ability to hide those virtual buttons, which is by Google’s design because if an app could do that, then the end-user could get trapped in an app with no way out other than to reboot the device. [import]uid: 32256 topic_id: 29473 reply_id: 118725[/import]

Wrong) Videoplayer can hide those buttons) [import]uid: 114018 topic_id: 29473 reply_id: 128069[/import]

grcool,

The bottom navigation bar can be “dimmed” (aka: lights-out mode), but not removed. This is true of the default video player as well. Tap the bottom of the screen to reveal the dimmed navigation bar. So, that means that the bottom navigation bar always steals screen real-estate… except on the Kindle Fire HD where a tab is overlaid on top of the screen which can pop-up the navigation bar. [import]uid: 32256 topic_id: 29473 reply_id: 128176[/import]

Removed, exactly, not dimmed.
Navigation bar dimmed in camera app, for example.
There are screenshots from MX Player app:
Fullscreen without any navigation, true 1280x720
http://cool.elvista.ru/storage/2012-10-22-21.40.01.png
Navigation bar appears after tap:
http://cool.elvista.ru/storage/2012-10-22-21.40.08.png
One more tap and bar slide outside screen.
[import]uid: 114018 topic_id: 29473 reply_id: 128178[/import]

the same with standart player) [import]uid: 114018 topic_id: 29473 reply_id: 128179[/import]

grcool,

Okay, you are partly right. I had a second look at this and it is possible to hide the navigation bar on an Android 4.0 phones, but not on tablets which is what I originally tested with.

It involves using the following Android API…
http://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_HIDE_NAVIGATION

…but it comes with a serious issue where as soon as you tap on the screen, it comes back permanently and resizes the display. The only way to prevent that and have the navigation bar overlay instead (like how it is shown in your screenshots) is to use an Android 4.1 feature documented here…
http://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION

It’s never as simple as it looks on Android. [import]uid: 32256 topic_id: 29473 reply_id: 128187[/import]

Thank you!) Now I am happy)) [import]uid: 114018 topic_id: 29473 reply_id: 128188[/import]

Wrong) Videoplayer can hide those buttons) [import]uid: 114018 topic_id: 29473 reply_id: 128069[/import]

grcool,

The bottom navigation bar can be “dimmed” (aka: lights-out mode), but not removed. This is true of the default video player as well. Tap the bottom of the screen to reveal the dimmed navigation bar. So, that means that the bottom navigation bar always steals screen real-estate… except on the Kindle Fire HD where a tab is overlaid on top of the screen which can pop-up the navigation bar. [import]uid: 32256 topic_id: 29473 reply_id: 128176[/import]

Removed, exactly, not dimmed.
Navigation bar dimmed in camera app, for example.
There are screenshots from MX Player app:
Fullscreen without any navigation, true 1280x720
http://cool.elvista.ru/storage/2012-10-22-21.40.01.png
Navigation bar appears after tap:
http://cool.elvista.ru/storage/2012-10-22-21.40.08.png
One more tap and bar slide outside screen.
[import]uid: 114018 topic_id: 29473 reply_id: 128178[/import]

the same with standart player) [import]uid: 114018 topic_id: 29473 reply_id: 128179[/import]

grcool,

Okay, you are partly right. I had a second look at this and it is possible to hide the navigation bar on an Android 4.0 phones, but not on tablets which is what I originally tested with.

It involves using the following Android API…
http://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_HIDE_NAVIGATION

…but it comes with a serious issue where as soon as you tap on the screen, it comes back permanently and resizes the display. The only way to prevent that and have the navigation bar overlay instead (like how it is shown in your screenshots) is to use an Android 4.1 feature documented here…
http://developer.android.com/reference/android/view/View.html#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION

It’s never as simple as it looks on Android. [import]uid: 32256 topic_id: 29473 reply_id: 128187[/import]

Thank you!) Now I am happy)) [import]uid: 114018 topic_id: 29473 reply_id: 128188[/import]