Android Question wifi connecting

yaniv hanya

Active Member
Licensed User
Hi
I'm trying to use the library and example project from here.
https://www.b4x.com/android/forum/threads/simple-wifi-library.38601/
Version 3.07 from here.
https://www.b4x.com/android/forum/threads/simple-wifi-library-updated-v-3-07-09-05-2018.76233/
When I am connected it works well and even if I want to reconnect to my network that I am already connected to I get a positive answer.
But if the device is not connected to the network and I try to connect is unsuccessful and I do not know what the problem is because the b4a bridge is also disconnected and so I have two questions.
1 Is there a way to connect the device to the development environment also via USB that I can see the logs?
2 Do you have any idea how to solve the login problem?
 

yaniv hanya

Active Member
Licensed User
thanks
It was to USB debug mode but it was set to MTP insetd of PTP like you said in the tutorial.

for some resone even after i call the Wifi.disconnectWifiAP and it returns true
the device still stays connected why?
 
Upvote 0
Top