[fpc-pascal] fpcjvm code for examination

Mgr. Janusz Chmiel janusz.chmiel at volny.cz
Fri Aug 23 23:39:12 CEST 2019


So I have found out my bug. Why WIFIlock did not work as expected. I 
have put wrong number. So The right lines are:

   WifiManager := ANWWifiManager(getSystemService(ACContext.WIFI_SERVICE));
WifiManager.createWifiLock (3,'WIFI_MODE_FULL');
Wakelock number is correct.




More information about the fpc-pascal mailing list