Software Archive
Read-only legacy content
17061 Discussions

Status bar appears in android app

Campuzano_Serna__Jua
494 Views

XDK ver. 3641

Android 6

Hello, I have a minimal application for android created with XDK.

The status bar is visible under the following conditions:

- When you start the application for the first time, sometimes the status bar is visible.

- If you launch the application from the android main screen, the status bar is visible.

- If you check the applications open and select the application the status bar is visible.

- If you query the open applications and select another native application and then re-select your application, the status bar then is not visible.

That is, it seems that the application created with XDK by itself is not able to hide the status bar at times.

In this video the application created with XDK is a blank screen, you can see that sometimes the visible status bar appears.

https://www.youtube.com/watch?v=t-KqvEf0jrM&feature=youtu.be

To solve this, in Construct 2 you have to run this event at all times.

http://i.imgur.com/qOooJFp.png

Any other necessary information?

Sorry for my english.

0 Kudos
4 Replies
PaulF_IntelCorp
Employee
494 Views

I recommend you try using the status bar plugin to get some control over that > https://www.npmjs.com/package/cordova-plugin-statusbar <

Screen Shot 2016-12-14 at 11.16.35 .png

0 Kudos
Campuzano_Serna__Jua
494 Views

Paul F. (Intel) wrote:

I recommend you try using the status bar plugin to get some control over that > https://www.npmjs.com/package/cordova-plugin-statusbar <

Sure, I'm using that plugin but I still have this problem.

I have read the documentation of the plugin, maybe I should always hide the bar at runtime?
I thought it was hidden automatically when I indicated in XDK the "FullScreen" box.

0 Kudos
PaulF_IntelCorp
Employee
494 Views

Yes, use the API to hide at runtime. That will be the most reliable route to success.

0 Kudos
Campuzano_Serna__Jua
494 Views

Paul F. (Intel) wrote:

Yes, use the API to hide at runtime. That will be the most reliable route to success.

Ok, that solution will apply, thanks for your time !.

0 Kudos
Reply