B4A Library WifiDirect Library

Attachments

  • WifiDirect.zip
    9.3 KB · Views: 2,070
Last edited:

stephen1916

New Member
Licensed User
Longtime User
Hi all,
I am trying to combine the 2 excellent tutorials using wifi-direct and the walki-talki example into one, that is use wifi-direct to stream voice, however I cannot seem to get the audio to play on the other device. I upload the changes I made and if anyone could help I would appreciate it.
 

Attachments

  • WifiDirectAudio.zip
    10 KB · Views: 813

derez

Expert
Licensed User
Longtime User
First look - you don't have audiostream.startplaying
Add it after initialization of the audiostream.
 

Graeme Tacon

Member
Licensed User
Longtime User
Hi
I've recently downloaded Basic4Android, so sorry in advance for the stupid question!
I've downloaded these examples, but none of them will compile - I get the following error:

Parsing code. Error
Error parsing program.
Error description: Unknown type: wifimanager
Are you missing a library reference?
Occurred on line: 6
Private manager As WifiManager

Am I missing something ?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Download the attached library. Unzip it and copy it to the libraries folder (the one you set under Tools - Configure Paths). Now right click on the libraries list and choose refresh.

Check WifiDirect.
SS-2014-02-27_08.59.47.png
 
Top