HyperionX
HyperionX

Reputation: 1646

Android Source - Connect to a predefined network

How can I hard-code a WiFi network connection for an Android Open Source project?

I will have a device that is within a network, and would like the device to automatically connect to that network and ONLY that network.

Upvotes: 0

Views: 77

Answers (1)

user2269707
user2269707

Reputation:

All wifi config is saved at /data/misc/wifi, but as for now (aosp 8), the password has encrypted, so it not easy to push a prepared config to make the system auto connect to the hotspot.

As my experience, It's way easier to write an apk.

Upvotes: 1

Related Questions