hoerresb / WifiWizard

A Cordova plugin for managing Wifi networks
Apache License 2.0
205 stars 176 forks source link

enable wifi hotspot #30

Closed jaime-ez closed 9 years ago

jaime-ez commented 9 years ago

Hi, I'm wondering how to enable the wifi hotspot for a user that has my app installed. Can it be done with this plugin? (I'm new to this) Thanks

crapthings commented 9 years ago

@jaime-ez hey i think this plugin can't do that yet.

check this if you're on android device

https://github.com/floatinghotpot/cordova-plugin-wifi

it has enableWifiAP, but i haven't tried.

enableWifiAP(istrue, params, okcallback, failcallback);
parsonsmatt commented 9 years ago

If the network ssid has been added, then you can connect with this function: https://github.com/parsonsmatt/WifiWizard/blob/master/README.md#wifiwizardconnectnetworkssid-win-fail

If the network hasn't been added, make a WifiConfig object and then use the WifiWizard.addNetwork function with it On Jun 7, 2015 3:54 PM, "jaime echegaray zipper" notifications@github.com wrote:

Hi, I'm wondering how to enable the wifi hotspot for a user that has my app installed. Can it be done with this plugin? (I'm new to this) Thanks

— Reply to this email directly or view it on GitHub https://github.com/parsonsmatt/WifiWizard/issues/30.

jaime-ez commented 9 years ago

Thanks! I found this Java class https://github.com/nickrussler/Android-Wifi-Hotspot-Manager-Class that I might implement. But first I'll check your suggestion @crapthings