Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Force Wifi network #88

Open
JavaDeveloper08 opened this issue Oct 28, 2020 · 2 comments
Open

Force Wifi network #88

JavaDeveloper08 opened this issue Oct 28, 2020 · 2 comments

Comments

@JavaDeveloper08
Copy link

Hi,
How do I force Android to use wifi network instead of mobile network. I'm building an app that connects to a certain WiFi network that has no internet access. In some devices, beacuse of no internet access, device is connecting mobile data.

I would like to force certain Wifi Network.

Thank you.

@ThanosFisherman
Copy link
Owner

Hi,

WiFiUtils does everything it can to shift the selected network to the highest priority. Other than that there is not much you can do since some devices decide to prioritize WiFi networks with better internet access and connect to them.

So it's a device specific thing.

@JavaDeveloper08
Copy link
Author

Thank you @ThanosFisherman I got it. But, How can i solve this problem by using other ways. Would you give alternative solving advice to me?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants