_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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -