Android Things on Raspberry Pi 3 the WiFiDirect not working
Android Things on Raspberry Pi 3 the WiFiDirect not working I am trying to get WiFi Direct (aka wifi p2p) to run on Android Things 1.0.1, Api version 27, Raspberry Pi 3. I am following this demo on Android Developers Demo web site. The problem is the line: mManager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE); mManager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE); always returns null. Questions: 1) How do I get this example to run? Does Wifi Direct run in Android Things? 2) Is there an alternative to WiFi direct that will allow the Raspberry Pi to connect to a Android tablet or iOS tablet running a browser, one that does not require a stand alone wifi router/hub? 3) Am I missing some reason that would prevent Wifi Direct from being implemented in the future? Possible duplicate of WiFi P2P network in Android Things – Andrii Omelchenko 23 hours ago ...
