_unAnswered_ Turn on android hotspot by button click in my application then see the connected devices MAC address -


i want turn on hotspot of android mobile click on button in hello world application. after want below list of connected devices mac address must seen. , there option of giving custom name mac address(alias).

this question asked way before stack overflow , never answered properly. please try give ans

we not give code this. way can explore.

to control wifi of android device have add line manifest :

<manifest ...>  <uses-feature android:name="android.hardware.wifi" />  <uses-permission android:name="android.permission.change_wifi_state" />  <uses-permission android:name="android.permission.change_network_state" />  <uses-permission android:name="android.permission.access_wifi_state" /> ... </manifest> 

after have use class : wifimanager manage hotspot


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -