ADB / Tasker API
AIO Launcher 2.7.0 introduced support for controlling launcher from other applications (for example, Tasker) and ADB. To enable this feature, open the Advanced settings in the AIO settings.
It works like this: you send a broadcast content with action="ru.execbit.aiolauncher.COMMAND" and the cmd=command. For example, to open the application menu using ADB, do this:
adb shell am broadcast -a ru.execbit.aiolauncher.COMMAND --es cmd apps_menu
The same with Tasker (System - Send intent):
The following commands are available:
apps_menu screen_off screen_off_root refresh notify search dialer camera flashlight voice headers scroll_up scroll_down scroll_up_or_search one_handed add_note private_mode settings
Also AIO Launcher 2.7.0 includes so-called user widget. By itself, it does not show anything, but any text can be output to it by analogy with commands (instead of "cmd" you must write "widget"). Example:
adb shell am broadcast -a ru.execbit.aiolauncher.COMMAND --es widget 'Text'
Below is an example of the Tasker task, which displays smartphone manufacturer and model in the widget:
Widget supports many HTML tags:
First line<br/>Second line <b>Bold Line</b><br/><i>Oblique Line</i> <font color="red">Red text</font> <span style="background-color: #00FF00">Text on green background</span>
To prevent third-party (malicious) applications from gaining the ability to control the launcher and write text to the widget, you can set a password to access the launcher. This password must be specified each time a command or text is sent:
adb shell am broadcast -a ru.execbit.aiolauncher.COMMAND --es cmd apps_menu --es password PASSWORD