Automate Flow to activate ethernet tethering

1,059 views
Skip to first unread message

Numa

unread,
Mar 10, 2022, 6:05:15 AM3/10/22
to Automate
Hello Everyone,

I have been trying for the last few days to automatically activate the ethernet tethering once I plugged the USB-C cable to my Samsung XCover5 from which the ethernet connection transmits the internet connection to another device.

I managed to automatically switch the ethernet button on when the mobile hotspot and tethering settings page is open but when it is not open, the ethernet tethering doesn't activate... How can I solve this ? I have tried every possible combination of interact but I never manage to open the system settings to the wanted page.

Is there anyone with a solution to my issue ?

Thanks in advance !

Henrik "The Developer" Lindqvist

unread,
Mar 10, 2022, 11:57:28 AM3/10/22
to Automate
You need to use the App start block to open system Settings app, preferably directly to the page where the option is.
Sadly there's no standardized action for that particular page, see: https://developer.android.com/reference/android/provider/Settings
So you likely have to open a "parent" page, the user the Interact block to simulate the click to open the page as well.
Reply all
Reply to author
Forward
0 new messages