I wondered if there is a way to hide the status and navigation bar on Android in EvoThings-Client app.
A show/hide (toggle) function would be nice, to get a fullscreen feeling.
Hide status/navigation bar on Android
Re: Hide status/navigation bar on Android
Hi Andi,
Hiding the status bar is currently not supported. This is something that should be added. I agree that it is a cool and useful thing to have. What is needed to do this in Evothings Client is some native code, a new Cordova plugin, to hide/show the bar. There could even be a button on the start screen that lets you turn on/off the status bar, as well as a JavaScript API call for it.
If you develop your own Cordova app it is easy, on iOS you can just configure the status bar visibility in Xcode, and on Android there is something similar you can do in the AndroidManifest.xml file.
You could also build a custom version of Evothings Client with the status bar hidden, but unfortunately it is quite complicated to do the build and it is not well documented.
What you can do is to create your own Cordova project for your app, then use Evothings Workbench when you develop, to get the fast reload-on-save and logging features. Here is a guide for how to do this:
http://evothings.com/doc/build/cordova- ... rEvothings
Best regards, Mikael
Hiding the status bar is currently not supported. This is something that should be added. I agree that it is a cool and useful thing to have. What is needed to do this in Evothings Client is some native code, a new Cordova plugin, to hide/show the bar. There could even be a button on the start screen that lets you turn on/off the status bar, as well as a JavaScript API call for it.
If you develop your own Cordova app it is easy, on iOS you can just configure the status bar visibility in Xcode, and on Android there is something similar you can do in the AndroidManifest.xml file.
You could also build a custom version of Evothings Client with the status bar hidden, but unfortunately it is quite complicated to do the build and it is not well documented.
What you can do is to create your own Cordova project for your app, then use Evothings Workbench when you develop, to get the fast reload-on-save and logging features. Here is a guide for how to do this:
http://evothings.com/doc/build/cordova- ... rEvothings
Best regards, Mikael
Re: Hide status/navigation bar on Android
Apache themselves has cordova-plugin-statusbar. Seems like something we could add to Evothings Client.
Re: Hide status/navigation bar on Android
Looks like a great plugin!
Re: Hide status/navigation bar on Android
Would be great.
[Edit]
Does this plugin only hide the status-bar or does it also hide the on-screen navigation bar (the bar at the bottom with 'back', 'home' and 'tabs'-buttons)?
[Update]
Hiding Bars on Android (native):
https://developer.android.com/training/system-ui/navigation.html#40
[Edit]
Does this plugin only hide the status-bar or does it also hide the on-screen navigation bar (the bar at the bottom with 'back', 'home' and 'tabs'-buttons)?
[Update]
Hiding Bars on Android (native):
https://developer.android.com/training/system-ui/navigation.html#40
Re: Hide status/navigation bar on Android
Created an issue for adding the plugin to Evothings Client:
https://github.com/evothings/evothings-client/issues/69
https://github.com/evothings/evothings-client/issues/69
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 47 guests