API REST (PLUS)
Si Remote Admin est activée, vous pouvez utiliser ses fonctionnalités comme une interface API REST simple pour contrôler l'appareil depuis votre réseau local. L'adresse URL de base est toujours http://ip-address:2323. Vous pouvez utiliser HTTPS pour cette connexion, comme décrit dans la section Remote Admin.
Vous devez spécifier le mot de passe Remote Admin dans la chaîne de requête, par exemple : password=08154711. Ajoutez type=json à la chaîne de requête pour obtenir une réponse JSON courte. N'oubliez pas d'encoder en URL tous les paramètres de la chaîne de requête.
Exemples d'appels d'API :
GET http://192.168.178.1/getDeviceInfo?type=json&password=08154711
GET http://192.168.178.1/loadUrl?url=https%3A%2F%2Fwww.google.com&type=json&password=08154711Liste complète des points de terminaison de l'API REST avec paramètres supplémentaires :
Obtenir Device Info
// Get Device Info JSON
/getDeviceInfo
// Get Fully Log
/showLog
// Get Logcat
/logcatNavigation Web
// Load URL
/loadStartUrl
/loadUrl?url=[url]
/loadUrl?url=[url]&tab=[0..n]&focus=[true|false]
/loadUrl?url=[url]&newtab=[true|false]&focus=[true|false]/injectJavascript?code=code (ver. 1.60+)
// Manage Tabs
/focusTab?tab=[index]
/closeTab?tab=[index]
/refreshTab
// Remove Web Items
/clearCache
/clearWebstorage
/clearCookies
/resetWebviewÉcran allumé/éteint, économiseur d'écran et rêverie
// Screen on/off
/screenOn
/screenOff
/forceSleep
// Simulate Motion
/triggerMotion
// Fully Screensaver and Android Screen Saver (Daydream)
/startScreensaver
/stopScreensaver
/startDaydream (Android 10 and older!)
/stopDaydream (Android 10 and older!)Gestion des bornes interactives et des applications
// Unlock/lock kiosk mode
/lockKiosk
/unlockKiosk
// Start other apps
/startApplication?package=[pkg]
/startIntent?url=[intenturl]
// Bring Fully app to foreground/background
/toForeground
/toBackground
// Restart and exit Fully Kiosk
/restartApp
/exitApp
/killMyProcess // Kill my app hard (ver. 1.55+)
// Return to main view if any special view (PDF, Settings, Menu) is open
/popFragment
// Download and launch APK file, user input can be required for install
// If app already installed in this version, APK install will be started only if forceInstall=true
// These features are not available if you installed Fully Kiosk from Google Play
/loadApkFile?url=[url]&forceInstall=[true|false]
/uninstallApp?package=[package]
// Get current APK installation status (JSON)
/getInstallApkState
// Kill background processes for package (Android 13 and older)
/killBackgroundProcesses?package=[package]
// Clear app data (Android 9+, provisioned devices only)
/clearAppData?package=[package]
// Install Certificate in User Certificate Store (provisioned devices only)
/installUserCa?url=[url]
// Lock/unlock device for maintenance
/enableLockedMode
/disableLockedMode
// Show message in an overlay
/setOverlayMessage?text=[text]
// Rooted devices only
/shutdownDevice
/runRootCommand?command=[command]
/runSuCommand?command=[command]
// Rooted and provisioned devices only
/rebootDeviceObtenir des statistiques, une capture d'écran et une capture vidéo
// Load full usage stats CSV file
/loadStatsCSV
// Get screenshot image (PNG), not for videos or other apps
/getScreenshot
// Get camshot image (requires Motion Detection)
/getCamshotUtiliser la synthèse vocale et le multimédia
// Text to speech
/textToSpeech?text=[text]
/textToSpeech?text=[text]&locale=[locale]
/textToSpeech?text=[text]&locale=[locale]&engine=[engine]
/textToSpeech?text=[text]&locale=[locale]&engine=[engine]&queue=[0|1]
/stopTextToSpeech
// Play sounds/video and change audio volume
// Audio Streams: 0 – Voice Call, 1 – System, 2 – Ring, 3 – Music, 4 – Alarm, 5 – Notification, 6 – Bluetooth, 8 – DTMF, 9 – TTS, 10 – Accessibility
/setAudioVolume?level=[0-100]&stream=[0-10]
/playSound?url=[url]&loop=[true|false]&stream=[0-10]
/stopSound
/playVideo?url=[url]&loop=[0|1]&showControls=[0|1]&exitOnTouch=[0|1]&exitOnCompletion=[0|1]
/stopVideoGérer les paramètres
// Change any of 350+ Fully settings, look in Remote Admin for keys
// New values will be applied immediately
/setBooleanSetting?key=[key]&value=[true|false]
/setStringSetting?key=[key]&value=[value]
// Get current setting values
/listSettings?type=json
// Import JSON settings file from URL or file
/importSettingsFile?url=[url]Gestion des fichiers
// Download and upzip file from URL to directory
// If dir is not specified use shared storage root (if Android 9 or older, or All Files Access granted), otherwise use app specific storage root
/loadZipFile?url=[url]&dir=[dir]
// Download/delete local files
/deleteFile?filename=[filename]
/downloadFile?filename=[filename]
/deleteFolder?foldername=[foldername]