Welcome to the Kiosk Browser knowledge base and forum!
0
Answered

Bring Back Kiosk Browser in foreground

sruetzler 2 years ago in Application • updated by Richard 2 years ago 8

Hello,
I want to run an application in the Background and the user shouldn't see it.
The best would be if the user didn't see the background application but it's ok if the Kiosk Browser returns immediately.

My Solution:
I start the application with the javascript API in the start html file.
Now I want to come back to the Kiosk Browser immediatly.
For this I'm setting the timeout.
If I set the the time to short, it's possible that the Kiosk Browser stays in the background forever when the application is still starting at this time. If I configure a long time, to be sure that the browser comes back, the user can see and use the Application in the meantime. Which is a securtiy risk.

Is it possible to bring the Browser Back in Foreground?
First idea: Check in the script if the Browser has not the focus (this function is avalaible) and call a function to bring the browser back ( The question is: Is there a function to bring back the browser in foreground?).
Second idea: The Browser handles this automatically. I think this isn't implemented.

Another nice feature would be to check if an application is already started. Because I only need to start the application once. At the moment it's started on every reload.

Regards Simon


Answer
Richard 2 years ago

We've tested the below and it works fine for us:


openApplication('com.termux', 2500)

It's worth noting that if you set the regainfocusinterval to something very short, its likely that the application may finish loading after Kiosk Browser has attempted regain focus and will always stay open. This is due to the fact we cannot tell when an application has started/finished loading.


We have implemented a new JS function in the currently development build called regainFocus() so you can do this manually if required.


If you want to try a copy of the development build please let me know, but it is experimental since it has initial work on Android N support.

0
Answered

Change url trough api

User330 2 years ago in Application • updated by Richard 2 years ago 4

Would it be possible to change the destination url for the kiosk through the api?

0
Answered

OnChange event does not fire when barcode scanner result is returned to a text box

Richard 2 years ago in Application • updated 2 years ago 1

We inject the following JavaScript after a barcode scan:


document.getElementById('testinput').value='value';

However jQuery will not detect this as a value change (happens when tested on Chrome too).


Instead we call the "onchange" function of the input field, for example your page would contain the below:


<a href="#" onclick="javascript:openAndroidBarcodeScannerInput('testinput');">Open Barcode Scanner - input field ID * Requires 2.0.7 or higher</a>
<input type="text" id="testinput" value="" onchange="onTestInputChange()">
<script>
      function onTestInputChange() {
        alert('.change() for testinput, value = ' + $('#testinput').val());
    }
</script>

Kiosk Browser then injects the following code after a successful barcode scan.


document.getElementById('testinput').value='test';
if (document.getElementById('testinput').onchange != null) {
    document.getElementById('testinput').onchange();
}

You can test this via our sample JavaScript page http://www.android-kiosk.com/jstest.htm

0
Answered

Disable Multi-tap doesn't work

sruetzler 2 years ago in Application • updated by Richard 2 years ago 7

Hello,

I'm testing the app in Pro-Demo Mode and I disabled the Multi-Tap entry.

But I can still enter the password dialog if I tap 4 times on the display.

Is there anything else I can do. In our use case it's normal to tap multipe times on the display.


Thanks

Simon

0
Declined

Background refresh when network disconneccted

User1324 2 years ago in Application • updated by Richard 2 years ago 13

Hi there,


We have multiple devices using LAN or Wifi running web pages which have a offline cache functionality enabled, so when the network drops, people can still use the devices / web pages. We've set the refresh timer in Kiosk Browser to 3 mins, but what happens is that when a network isn't present, the offline cache works for 3 mins and when the app refreshes the page it goes to a 'web page can't be found' page. Is there any way you can incorporate the refresh, but run it in the background rather than interrupting the web pages? So that if a network is down, the offline cache function still works without interruption until it reconnects.


Thanks

Liz

0
Answered

Auto reconnect to network

User1324 2 years ago in Application • updated by Richard 2 years ago 1

Hi there,


Is there a setting we can switch on or a function we can call which gets kiosk browser to check for a network connection (either WiFi or lan) if it is disconnected, and then reconnect?


Thanks

Liz

0
Not a bug

Viewport offset and unusable border

Tenbob 2 years ago in Application • updated by Richard 2 years ago 3

Hi. I'm a new user of the Pro version and I'm very pleased with the results so far.


I am using full-screen immersive mode on a 10 inch iRULU tablet. But there's a problem with the display which shows a white border about 30px wide at the top and left hand side. This only happens with the browser window. The toolbar goes right to the edges of the screen when it is visible. Other apps are able to use the whole screen without any problem.


Viewportsizes.com reports my viewport size as 1024 x 600. But I'm only able to use about 964 x 558 if I want to keep the display centred. And then there's an annoying white border around everything. Any idea what might be wrong?



0
Not a bug

Android Sleep settings always resets itself

scuser1 2 years ago in Application • updated 2 years ago 4

My Android sleep settings keeps on resetting itself. I set it to 'Never' sleep but seems to return to 1 minute sleep. Could Kiosk Browser be causing this? Kiosk Browser is set to power off & on the tablet every day and has its own screensaver and idle page timeout set.


I'm using Kiosk broswer software on a Lenovo A10-70F tablet running Android 5.0.1


Thanks


0
Answered

Kiosk Browser can't run without Google Play update?

User1324 2 years ago in Application • updated 2 years ago 6

Hi,


We are having an issue with on-site devices which are displaying a message “Kiosk Browser won’t run unless you update Google Play services”.


Are the two interlinked and can we not turn off Google Play auto update without bringing down all of the devices?


Please let m know how to correct.


Thanks

Liz

0
Declined

Alternative Homepage URLs for Wifi and Celluar

James Sampford 2 years ago in Application • updated by Richard 2 years ago 1

Be able to specify different URLs depending on how the device is connect - may need to provide a prompt when one connection is lost if to switch connections.

This may allow deployers of Kiosk Browser to offer up a lightweight alternative when using cellular connections to save on bandwidth