This is a migrated thread and some comments may be shown as answers.

Wifi Manager Plugins

1 Answer 146 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
arialz
Top achievements
Rank 1
arialz asked on 02 Feb 2015, 06:21 AM
HI.
I want to use wifi plugins that can get me the scan result of available wifi SSID.
i tried imported the existing plugins from cordova plugins such as :
1. http://plugins.cordova.io/#/package/com.pylonproducts.wifiwizard
2. http://plugins.cordova.io/#/package/nl.nielsad.cordova.wifiscanner

None of them can give me the scanResult.
the 1st one can give me list networks. the result is all of my saved wifi SSID not the only available one. 
i tried it by debug the project to an APK file and i installed it on my device coz on companion app it doesn't work.

the 2nd one is not working completely because when i imported it, the plugin isn't registered in the list of other plugins on plugin properties.
so when i use the methods, my codes is not working properly. the plugin use device-motion structure.

is there a plugin that already registered in telerik plugins market to scan available wifi?
if not, is there other solution to get what i want?
and i got a question too about including the imported plugins .js file, how should i include the js file in my index.html? i mean do i have to copy the .js file to my project directory first or just directly from the plugin's path?

thanks






1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 04 Feb 2015, 05:03 PM
Hi arialz,

I tested with the second plugin you specified from here. The plugin worked as expected and I was able to retrieve the nearby networks.

Please, find the attached project which you can import in your project as explained in the documentation. The plugin is called in index.js in the onDeviceReady handler. Please, build and deploy the app to an Android device.

Currently the Verified Plugins Marketplace does not feature a plugin for the job you would like to achieve.

Let me know if I may be of any further assistance.

Regards,
Anton Dobrev
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Apache Cordova
Asked by
arialz
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or