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?
連結已複製
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.
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
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.
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.
