We are developing a Hybrid app using HTML CSS JQuery and Angular.
This is wrapped within RhoElements so that we can use the barcode scanning features of the Motorola MC40
Currently the way the app behaves is that it pushes the app full screen on the MC40 in such a way that the top bar displaying the battery, Wi-Fi & clock gets hidden.
This means we have to develop our own wi-fi and battery indicator which we want to avoid.
Is there a way to make the app fullscreen but it displays the battery indicator, wi-fi signal strength and the time?
Thanks.
I have attached a screen shot of the app in fullscreen.
As you can see its pushed flush edge to edge and so the native indicators at the top cannot be seen.
Points: 0
You voted ‘up’
The configuration you call "full screen" is NOT full screen really...
Why do you want to use full screen?
Alexey
Points: 0
You voted ‘up’
I'm sorry, I don't understand your question.
Aren't all apps full screen? Or perhaps there is another term for what I
want to achieve.
Please see the images above, it depicts what we are after.
Thank you.
Isaac
On 03/04/2013, at 7:32 PM, Alexey Tikhvinsky <
Points: 0
You voted ‘up’
+1
Another requirement is for seeing the Mobile signal strength before syncing or retrieving data from a webservice
Points: 0
You voted ‘up’
In the config.xml file there is a Fullscreen setting, if you set it to zero it will be disabled. The config.xml is located in the com.motorolasolutions.rhoelements folder
http://docs.rhomobile.com/rhoelements/ConfigurationSettings
Let us know if this works.
Points: 0
You voted ‘up’
If you want notification bar showed with indicators then it is NOT FULL screen. In full screen the app takes whole the screen.
If I got it right you need to disable full screen...
Unfortunately the bug with config.xml full screen setting is not fixed in 2.2. It will be fixed in 4.0.
The only way to disable full screen in hybrid app is to change build.yml for runtime and rebuild it.
Alexey
Points: 1
You voted ‘up’
Thanks, Alexey. I don't use RhoElements, just good old Rhodes, hence, config.xml doesn't apply to me. May I know that build.yml setting to not set it to fullscreen? Additionally, can it be set in Rhoconfig.txt? Must be there in the docs, I just couldn't find it, so help me guys.
Points: 0
You voted ‘up’
There are really two settings which manages full screen at android:
First is in rhoconfig.txt
http://docs.rhomobile.com/rhodes/configuration#run-time-configuration (look for full_screen)
Second is in build.yml
http://docs.rhomobile.com/rhodes/build#build-for-android (look for android_title)
If you need real full screen then you need set at rhoconfig.xml
full_screen = 1
And disable title at build.yml
android:
android_title: 0
Android title can be disabled at build time only.
Notification bar can be disabled at runtime from ruby (does not work form javascript):
http://docs.rhomobile.com/rhodesapi/webview-api#fullscreenmode
Alexey
Points: 0
You voted ‘up’
That was quite detailed, thanks Alexey
Points: 0
You voted ‘up’
Thanks Guys. Makes sense now.
and you are correct, it is the notification bar that we want visible and makes a good case for it.
Since our hybrid app is not compiled through the app generator we don't use the build.yml
I guess I need to push the devs towards using the app generator and test it.
Points: 0
You voted ‘up’
Log in to post comments