How can I connect to an existing network programmatically using WifiManager? I am trying to write a program that connects to a wifi network without having to see the inbuilt android list of available networks.
Thanx
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you simply carry out any network operation, say an HTTP request execution, without bothering about the WifiManager, your operation will automatically execute on the network that is currently connected.
If you want to connect to one of the available networks without the user selecting which one, I don’t think that is possible. Don’t you think that is a blatant breach of the user’s preferences & security?
HTH,
Akshay