Android Question Enable/Disable Wi-Fi Calling Programmatically

dank

Member
Licensed User
Longtime User
Is there a way to enable or disable the wi-fi calling setting programmatically on, for example, my Pixel 6 Pro phone? The mobile network is great everywhere except at work, and I switch wi-fi calling on there. But I would like to write an app to check my GPS coordinates so the phone would automatically toggle wi-fi calling off when I'm not in my office.

Can someone point me in the right direction, if this is possible?

Thanks!
 

T201016

Active Member
Licensed User
Longtime User
Is there a way to enable or disable the wi-fi calling setting programmatically on, for example, my Pixel 6 Pro phone? The mobile network is great everywhere except at work, and I switch wi-fi calling on there. But I would like to write an app to check my GPS coordinates so the phone would automatically toggle wi-fi calling off when I'm not in my office.

Can someone point me in the right direction, if this is possible?

Thanks!
Maybe this is for starters?

Background location tracking

or Togglelibrary
 
Upvote 0
Top