I\'ve written the code to create an access point for android devices. I\'ve tested on both emulator and real device.But it doesn\'t work. Where did i get wrong?
You need few things to make this code to work.
1) Init wifiManager onCreate() :
onCreate()
WifiManager wifiManager = (WiFiManager) getSystemService(Context.WIFI_SERVICE);
2) You need to ask for this permissions in you AndroidManifest.xml :
AndroidManifest.xml
3) Your application need to be signed with system certificates.