_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

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -