Android Question WiFi Login programmatically

Rusty

Well-Known Member
Licensed User
Longtime User
I've looked over several libraries on this blog trying to find a way to see the SSID's (many libs do this well); then allow the user to provide a password and login to the router selected. (the VBWEP says it can do it, but none of my clients use WEP, they use WPA, WPA2 etc., so this lib doesn't seem to work)

Is there anyway to login to a router programmatically?
Thanks,
Rusty
 

Rusty

Well-Known Member
Licensed User
Longtime User
It is unusual that we don't get responses, this blog is usually so responsive to these types of questions :)
I'm still hoping for a solution...
Rusty
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Finally, i made so:
  • disable WiFi especially (as auto-connect to the latest WiFi network is possible next)
  • start a service, listening for WiFi connection
  • start intent of the system WiFI dialog
  • waiting for user activates a WiFi
  • service after catching the WiFi connection - trying to open a needed IP or URL by HttpUtils, and checking if it is accessible
  • and next open needed app activity or alerting the user about wrong WiFi connection
 
Last edited:
Upvote 0
Top