Hi, I'm testing WifiDirect example program but I'm getting the following error.
Can you tell what I'm doing wrong?
-microbox
B4X:
B4A version: 5.20
Parsing code. (0.02s)
Compiling code. (0.18s)
Compiling layouts code. (0.05s)
Generating R file. (0.21s)
Compiling generated Java code. Error
B4A line: 35
Dim dev As WifiDevice = discoveredDevices.Get(0)
javac 1.8.0_66
src\b4a\example\service1.java:198: error: package android.net.wifi.p2p does not exist
_dev.setObject((android.net.wifi.p2p.WifiP2pDevice)(_discovereddevices.Get((int) (0))));
^
1 error
-microbox