23.03.2011 23:37, Felipe Alexandre Rodrigues пишет:
Hello!
How do i make my app conect with wifi (WEP, WPA, No Auth, ....) using
wifimanager and wificonfiguration
You need to fill out WifiConfiguration and call WifiManager.addNetwork
so it's saved in the "known list" and assigned a numeric id.
Once you have the id, you can call WifiManager.enableNetwork /
disableNetwork.
Can anyone help me with links or tutorials
Here is one:
http://kmansoft.wordpress.com/2010/04/08/adding-wifi-networks-to-known-list/
Here is another:
http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=tree;f=src/com/android/settings/wifi;h=2249c66827f8ffdedb5782372359705abbf2f05e;hb=refs/heads/master
thanks
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en