_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 -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -