Soti Surf Refresh

Soti Surf Refresh

We have about 200 Acer Tablets (Android) being used as time clocks throughout our organization.  The time clock company may have to make changes on the server from time to time and it requires the browser to be refreshed.  We have Soti Surf locked down so the user basically can't do anything.   Using 14.1 version of Soti.

The clocks are basically useless until the website is refreshed so they've been instructed to reboot the clock manually.  This is difficult because of the height and the type of mount we are using.  I can send a soft reset to these but I believe I need to wait until the clock goes active.  If this is true, it makes it difficult to send multiple clocks the same command.  Does anyone have any recommendation on how I can go about doing this?  

I contacted Soti and they instructed me to try sending a script with the kill_application command and the device doesn't support this command.  Ideally - I'd like to have them walk up to the unit, if it presents them with an error, they can refresh and not have to call anyone.  If this can't be done, what's the next easiest method to address 200 or so tablets next time we have an issue (hasn't happened in 2 months but twice today)

Thank you in advance.

12 Answers

Order By:   Standard | Newest | Votes
Edgar Gomez | posted this 11 April 2018

One possiblity would be using an HTML file with the auto refresh tag. Something like <meta http-equiv="refresh" content="5" >

That HTLM file could be in the device, and the actual page may load in a frame of the page.

 

 

  • 0
  • 0
Raymond Chan | posted this 13 April 2018

Are you using a generic Android device agent?  What version/build number?  What is/are the MDM API's used by your current agent?  What about your MobiControl server version/build number?

 

Also, what is the hardware model / model number of your device? What Android version/build number?

 

  • 0
  • 0
Ryan Dragon | posted this 16 April 2018

Hello,

These are Acer Iconia One 10 tablets, model B3-A40.  Soti didn't have this version available and I tried the next model down (B3-A30) and it didn't work for me.  After much trial and error, Soti recommended I try AFW version of it and it worked fine.  

OS Version 7.0

OEM Version - Acer_AV0N0_B3-A40_7.001.00_WW_GEN1

Agent Version - 13.5.0.1110

Android API Level - 24

Supported APIs - Remote View, Work Managed Device

Soti Server - 14.1.2.1937

I think the main problem is that Kiosk Mode doesn't give me the refresh.  If I hit the home key to launch Soti Surf again, it goes right back to the main page.  Not sure if there's a way to even re-launch Soti Surf every time you click the icon.  If I take off Kiosk Mode, the refresh is there but I can't open this up for our users.

  • 0
  • 0
Raymond Chan | posted this 16 April 2018

Hi Ryan,

Within Soti Surf, did you enable kiosk mode and use a single home screen URL to point to your clock app?

 

Also, is the clock app a very complicated one with many extra functions and options?   If you want to display pretty simple digital clock, will it be simpler to use javascript within the webkit renderer in lockdown/kisok-mode?

  • 0
  • 0
Ryan Dragon | posted this 16 April 2018

I created a profile that has Feature Control, Kiosk Mode, Soti Surf, Out of Contact and Authentication.  Within Kiosk Mode, I have Soti Surf (Launch://net.soti.surf) and have it automatically start.

Within Soti Surf, I whitelist the URL we point to.  I have Enable Home Screen and Enable Kiosk Mode checked.  I've attached a picture of what our screen looks like if this helps.

  • 0
  • 0
Raymond Chan | posted this 16 April 2018

Hi Ryan,

 

In your special case of using kiosk mode this way, I believe you could probably refresh your Soti Surf by sending  the following script to the device of interest:

   sendinfo net.soti.action.surf block
   sleep 1
   sendinfo net.soti.action.surf unblock
   start net.soti.surf

 

Good luck.

  • 0
  • 0
Ryan Dragon | posted this 16 April 2018

Thank you very much.  This worked and it's a command I can send to multiple units, even if offline which helps tremendously.  One other question for you...

Can you think of any way to tie that script somehow to the URL so the users can do it themselves if I'm not around to push the script?  Just worried if I'm driving to work and need to do this, is there any other way to have them do something similar in front of the clock.  Kinda like re-launching the URL when they click home and then Soti Surf again.

Thanks again for your help

  • 0
  • 0
Raymond Chan | posted this 16 April 2018

Please note that some script command or parameter used is undocumented.  Thus,  this script  might not work in the future.

 

I thought you said the tablets are mounted very high up and not easily accessible.  Now, the user can press number pads and choose language?  Anyway, what will happen if you press the standard Android home/back/menu soft/hard key?  

  • 0
  • 0
Ryan Dragon | posted this 16 April 2018

The tablets are about 5' off the ground so they can be reached, but depending on the height of the person trying to reboot the clock, it may be kind tough.  The mount that holds the tablet also makes it difficult for the user to get their finger in there to push the power button.  Some sites only have 1-2 clocks which isn't a big deal.  Some have up to 13 clocks and have to drive around the building resetting them if needed which makes it difficult.

If you press the home key or the left back key (bottom of screen) it takes you back to the kiosk mode home screen that has the Soti Surf icon.  If you hold the home key down from the home screen, it'll present you with the menu for administrator mode (to exit kiosk mode) and a refresh key which appears to do nothing.

  • 0
  • 0
Raymond Chan | posted this 17 April 2018

As you can get back to the lockdown menu by taping the "back' key, one possible approach could be as follows:

 

1. Put the script commands proposed in earlier post to a script file, say test.cmd, in the "Download" directory of your internal flash.

2. Either add a new "refresh" lockdown-menu item  or replace the existing "Soti-Surf" lockdown-menu item with

       script:\\%sdcard%\Download\test.cmd

 

Some minor tuning may be necessary, but I do not have your tablet model to test out.  Good luck!

 

 

  • 0
  • 0
Ryan Dragon | posted this 17 April 2018

Thank you for your assistance.  I'm very close to getting this resolved.  I modified the script to use / instead of \ and it worked.  I added the script command next to the Launch Soti command so I have 2 icons.  I want to get it working before trying to replace Soti Surf with the script (if possible) so I only have 1 link.

If I hit the home key, I see my 2 links.  When I click the new refresh link, it goes to a screen that says "Your user access has been revoked.  Please contact your administrator for assistance."  I then have to click the home or back key again and the refresh link and it works.   So every other time I hit the button, it refreshes.  The other half gives me that message.  Assuming maybe it's doing the first part of the script and then the 2nd part? and not executing the whole thing at once?

Anything in the script I should try modifying?

sendinfo net.soti.action.surf block
sleep 1
sendinfo net.soti.action.surf unblock
start net.soti.surf

  • 0
  • 0
Raymond Chan | posted this 18 April 2018

I am sorry for the careless slash typos I made in the previous post.  

 

 

If you experience problem even if the time between the two "Refresh" icon presses is a few seconds or more, then I think you can try adding a second delay (the fourth line) as follows:

 

  sendinfo net.soti.action.surf block

  sleep 1

  sendinfo net.soti.action.surf unblock

  sleep 1

  start net.soti.surf

 

If the problem persists, you may try increasing the added delay such as "sleep 2"

 

 

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback