yaniv hanya Active Member Licensed User Nov 10, 2019 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Nov 11, 2019 #2 yaniv hanya said: Is there a way to connect the device to the development environment also via USB that I can see the logs? Click to expand... Yes. You need to switch to USB debug mode. See this tutorial: https://www.b4x.com/android/forum/t...w-way-to-connect-to-your-device.7978/#content Upvote 0
yaniv hanya said: Is there a way to connect the device to the development environment also via USB that I can see the logs? Click to expand... Yes. You need to switch to USB debug mode. See this tutorial: https://www.b4x.com/android/forum/t...w-way-to-connect-to-your-device.7978/#content
yaniv hanya Active Member Licensed User Nov 11, 2019 #3 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
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?
Erel B4X founder Staff member Licensed User Longtime User Nov 12, 2019 #4 Try to also call forgetAP. Maybe the device reconnects automatically. Upvote 0