How to on/off wifi connection with activity starter

Help me please I want to on/off wifi connection with activity starter…

Use the Toggle block from the WiFi component?

image

thank you…
but i want like this TUTORIAL | Request Enable & Disable BLUETOOTH dengan Activity Starter - Kodular/App Inventor Pemula - YouTube

it’s not work

starting from Android 10, this method does not work anymore, see also this stackoverflow answer. For Android 10 you might want to try this Activity Starter solution.

Taifun

1 Like