Difference between revisions of "Trigger: USB Device Connect/Disconnect"
m |
m |
||
Line 4: | Line 4: | ||
Note that this trigger will not fire in the case where the Android device is connected to a PC or similar. | Note that this trigger will not fire in the case where the Android device is connected to a PC or similar. | ||
</pre> | </pre> | ||
− | + | <br> | |
'''Example Usage'''<br/> | '''Example Usage'''<br/> | ||
If the USB device is connected, open the file manager. | If the USB device is connected, open the file manager. | ||
Line 18: | Line 18: | ||
</pre><br> | </pre><br> | ||
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> | ||
− | + | Constraints | |
Revision as of 08:18, 25 May 2023
This trigger will fire when a USB peripheral device such as a keyboard, mouse or USB memory stick is connected/disconnected from the Android phone/tablet. Note that this trigger will not fire in the case where the Android device is connected to a PC or similar.
Example Usage
If the USB device is connected, open the file manager.
Triggers USB device connected
Actions Launch app (File manager)
Constraints
Local variables