Fullscreen hyprid app using RhoElements

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.

Isaac Sane
I have attached a screen shot

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.

mc40_screenv2.jpg

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Alexey Tikhvinsky
The configuration you call

The configuration you call "full screen" is NOT full screen really...

Why do you want to use full screen?

Alexey

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Isaac Sane
I'm sorry, I don't understand

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 <

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mark Nongkhlaw
+1Another requirement is for

+1

Another requirement is for seeing the Mobile signal strength before syncing or retrieving data from a webservice

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
In the config.xml file there

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Alexey Tikhvinsky
If you want notification bar

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

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Mark Nongkhlaw
Thanks, Alexey. I don't use

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Alexey Tikhvinsky
There are really two settings

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

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mark Nongkhlaw
That was quite detailed,

That was quite detailed, thanks Alexey

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Isaac Sane
Thanks Guys. Makes sense now.

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments