Posts Tagged ‘APIs’

Command Line Interface and APIs for SureFox

SureFox uses a BroadcastReceiver to allow 3rd party applications to send specific commands to SureFox. Command can be send using Intent. (See examples below). To execute any command Administrator password is necessary. Currently, SureFox supports the following commands: Launch_surefox: final Intent intent = new Intent(“com.gears42.surefox.COMMUNICATOR”); intent.putExtra(“command”,”launch_surefox”); intent.putExtra(“sender”, context.getPackageName()); //optional this.sendBroadcast(intent); Exit_Surefox: final Intent intent = new Intent(“com.gears42.surefox.COMMUNICATOR”); intent.putExtra(“command”,”exit_surefox”);…

Read More

SureVideo Android Javascript APIs

Applies to: Product SureVideo Platform Android SureVideo for Android now comes with built-in set of Javascript APIs. Use these APIs in an HTML file and specify the file as Custom Layout Home Screen. The APIs are written as window.surevideo.<API_Name> Following is a comprehensive list of SureVideo APIs: launch(‘file_path’): Launches a media file.       window.surevideo.launch(‘/mnt/sdcard/samplevideo.mp4’); loopMedia(): Loops the…

Read More

SureFox iOS Javascript API

Applies to: Product SureFox Platform iOS   SureFox iOS now comes with built-in set of Javascript APIs. Embed them in your web application to perform variety of actions such as refreshing the page or resetting SureFox Idle Timer. In order to use these methods, make changes in your web page by making functions as: window.location = “sfcallback:reload” List of…

Read More

Execute Script Commands on Samsung Devices using SureMDM Nix

Applies to: Product SureMDM/Samsung Nix Platform Android   With SureMDM, you can create jobs (read more) and deploy it to your devices remotely. One of the jobs listed for Android devices is Run Script. With Run Script, you can create a Job to remotely execute script commands on the devices. List of script commands 1.Enable…

Read More

Command Line Interface and APIs for Surelock

Applies to: Product SureLock Platform Android Surelock uses a BroadcastReceiver to allow 3rd party applications to send specific commands to SureLock. Commands can be send using Intent (See examples below). To execute any command, Administrator password is necessary. SureLock API exit_surelock – This command exits the device from lock down mode. public synchronized void exitSurelock()…

Read More