Software Archive
Read-only legacy content
17061 Discussions

Status bar vs full screen!

Thomas_V_1
Beginner
1,051 Views

Hi, I am testing on Kit Kat 4.4.2 and my app is true full screen but I want to show the status bar all the time(as in the emulator). Is there a setting or do I have to get the status bar height, add a listener and change my apps top, margin etc with java script dynamically?

How is it with ios, windows etc?

 

0 Kudos
9 Replies
PaulF_IntelCorp
Employee
1,051 Views

See the status bar plugin, it is one of the core plugins. Also, see the featured "full screen" plugin for Android, this might be of value, depending on what you are trying to do. Or, just uncheck the "fullscreen" setting in the build settings.

0 Kudos
Thomas_V_1
Beginner
1,051 Views

Thanks Paul. You are helpful as usual. 

0 Kudos
Thomas_V_1
Beginner
1,051 Views

Where did the "plugins and permissions" folder go? I only have "build settings" and "launch icons and splash screens" under hybrid apps. I have xdk version  2548. 

 

0 Kudos
Thomas_V_1
Beginner
1,051 Views

I think this is a Linux problem. I use XUbuntu. I use cli 5.1.1. XDK 2548, I did not have 2496. 

When I upgraded to 2548 xdk stopped crashing. Good work. XDK Team. It was enoying. 

But the new Managing system do not show. 

https://software.intel.com/en-us/forums/intel-xdk/topic/594986

https://software.intel.com/en-us/xdk/docs/add-manage-project-plugins

0 Kudos
Thomas_V_1
Beginner
1,051 Views

hmm I saw the Upgrade button. Now I have the Manager. 

0 Kudos
Thomas_V_1
Beginner
1,051 Views

Fixed it. I needed to add show() and the window. 

added the statusbar plugin and 

in html I added:     <script type="text/javascript" src="statusbar.js"></script>

in onDeviceReady() i added:

window.StatusBar.show();

window.StatusBar.overlaysWebView(false);

 

Thanks for the help Paul. 

0 Kudos
PaulF_IntelCorp
Employee
1,051 Views

Thomas, glad to hear you got things working. You should not have to include this line:

<script type="text/javascript" src="statusbar.js"></script>

to your index.html, that should be taken care of automatically by the cordova.js inclusion.

In the future, if you do not see the plugin manager section of the Projects tab, check to be sure your project type (in the info section of the Projects tab) is HTML5+Cordova -- the plugin manager is only present for a Cordova app.

0 Kudos
Thomas_V_1
Beginner
1,051 Views

sorry wrong thread.

0 Kudos
Thomas_V_1
Beginner
1,051 Views

sorry wrong thread. 

0 Kudos
Reply