JS: Remote Management
Remote Management JavaScript Functions
You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions.
Returns unique Remote Management device identifier, requires version 2.0.21 or higher.
Register to Remote Management with built in Registration Key (custom build), requires version 2.0.37 or higher.
Register to Remote Management with Registration Key, requires version 2.0.37 or higher.
Register to Remote Management with Registration Key, requires version 2.5.2 or higher.
Refreshes Remote Management Profile on device, requires version 2.0.38 or higher.
Returns remote registration status (true or false), requires version 2.0.38 or higher.
You can find the JavaScript test page at https://www.android-kiosk.com/jstest.htm Just set this as the Kiosk URL on your device to test the functions.
Get Unique Remote Management Device Identifier
Returns unique Remote Management device identifier, requires version 2.0.21 or higher.
<script>
//GET UNIQUE IDENTIFIER
function getRemoteIdentifier() {
return Android.getRemoteIdentifier();
}
</script>
<a href="javascript:showAndroidToast(getRemoteIdentifier());">Get Unique Remote Management Device Identifier</a>
Register to Remote Management
Register to Remote Management with built in Registration Key (custom build), requires version 2.0.37 or higher.
<script>
function registerRemote() {
Android.registerRemote();
}
</script>
<a href="javascript:registerRemote();">Register to Remote Management with Built In Registration Key (custom builds)</a>
Register to Remote Management (key)
Register to Remote Management with Registration Key, requires version 2.0.37 or higher.
<script>
function registerRemoteKey(key) {
Android.registerRemoteKey(key);
}
</script>
<a href="javascript:registerRemoteKey('ENTER_REGISTRATION_KEY_HERE');">Register to Remote Management with Registration Key</a>
Register to Remote Management (key & device name)
Register to Remote Management with Registration Key, requires version 2.5.2 or higher.
<script>
function registerRemoteKeyName(key,name) {
Android.registerRemoteKeyName(key,name);
}
</script>
<a href="javascript:registerRemoteKeyName('ENTER_REGISTRATION_KEY_HERE','device name');">Register to Remote Management with Registration Key & Device Name</a>
Refresh Remote Management Profile on device
Refreshes Remote Management Profile on device, requires version 2.0.38 or higher.
<script>
function refreshProfile() {
Android.refreshProfile();
}
</script>
<a href="javascript:refreshProfile();">Refresh Remote Management Profile on device</a>
Get Remote Management Registration Status
Returns remote registration status (true or false), requires version 2.0.38 or higher.
<script>
function isRemotelyRegistered() {
return Android.isRemotelyRegistered();
}
</script>
<a href="javascript:showAndroidToast(isRemotelyRegistered());">Get Remote Management Registration Status</a>
Updated on: 11/05/2018
Thank you!