Read wifi access points

Hi ,

I am using webview for developing a android application

I need to populate wifi access point info on a dropdown box

I need to access android wifimanager api's to get the Phone WiFi access points

I have created a class that will act as an interface between Java code and JavaScript code

webView.addJavascriptInterface(new javaToJSIntf(), "javaToJSIntfVar");

<script type="text/javascript">
    var contactsJson = javaToJSIntfVar.getWiFiInfo();

how can i do it?


Please sign in to leave a comment.