Android Question WiFi state control by JobScheduler and WorkManager

Erel

B4X founder
Staff member
Licensed User
Longtime User
For Android 7+ we cannot use broadcast receivers for network change state.
You can use dynamic receivers while the app is running.

The other possible solution is to schedule your app to start from time to time with StartServiceAt and check the network state.

If your app must act immediately when the network state changes then you must use a foreground service. Other solutions will not work.
 
Upvote 0
Top