0

How do i create a app that check if there is wifi connection around? using android eclipse? if there is videos would be better because im a beginner and so it gets difficult and confused for me when i read the codes and don't know where to put them. thanks

baTimá
  • 554
  • 1
  • 9
  • 27

1 Answers1

0

The WifiManager class provides the API for interfacing with the Wi-Fi of the device. The getConnectionInfo() method will return a WifiInfo object that will give you info about the current Wi-Fi connection. Also, here's one tutorial I found that may be helpful.

Jeff
  • 790
  • 8
  • 18
  • well i had a look and the app in the tutorial it only shows you how to scan and see the wifi network status, what i actually want is to see if there is wifi connection avaible and (i didn't mentioned it in the question, i forgot) to connect to the wifi network. – baTimá Aug 23 '12 at 18:01
  • So is [this answer](http://stackoverflow.com/questions/3841317/how-to-see-if-wifi-is-connected-in-android) more what you're looking for? – Jeff Aug 23 '12 at 18:04
  • kinda, well i kept on looking up in the web and found some other stuff all relevant to these and got it working and yes, it shows my connection status, but i want to see network avaible and be able to connect to it, and we here had a look on the codes and tested it and its not what i was looking for :/ it only shows the status of it. – baTimá Aug 23 '12 at 19:11