B4A to PC Connections

Askjerry

Member
Licensed User
Longtime User
At home I can connect with my tablet via the bridge with WiFi 100 times out of 100. But for some reason... there are places such as the location i am at now... where it just won't connect.

On the tablet I see: My IP: 192.168.0.137

I start up B4A on this PC and hit connect... it comes up with...

PING Failed: (IP=192.168.0.137) Timeout

What am I missing? I'm here at a robot group meeting wanting to teach B4A... and it's just not happening.

Additionally... I must be as dumb as a box of rocks... because I read the streams on the connection via USB... I plug the USB cable between the tablet and the PC... it asks if I want to start file share, I push the button... and I can see all the files, etc from the PC... no problem.

I went into CMD and entered the command to start the adb.exe program... it claims it can't connect either. So at least for the moment... I'm really limited as to when and where I can do B4A programming. I did adb connect 192.168.0.137 and even if it did work... what do I do if there is NO wifi?

As for Bluetooth... I bought a Bluetooth... it sees the tablet... but again, the bridge says it can't find the Bluetooth device. (I have another thread on that.)

Thanks for any help.
Jerry
 
Last edited:

agraham

Expert
Licensed User
Longtime User
The WiFi may be a firewall configuration in the access point or some other limitation, probably deliberate if it is a public access point. There's obviously nothing wrong with your device and PC if it works at home.

For USB debugging your PC needs a driver that understands adb and your device needs USB debugging turned on in the developer settings. This post is a bit outdated now that B4A-Bridge is available but it explains USB and adb.http://www.b4x.com/forum/basic4andr...484-connecting-your-device-ide.html#post37973
 
Upvote 0

yttrium

Active Member
Licensed User
Longtime User
Additionally... I must be as dumb as a box of rocks... because I read the streams on the connection via USB... I plug the USB cable between the tablet and the PC... it asks if I want to start file share, I push the button... and I can see all the files, etc from the PC... no problem.

I went into CMD and entered the command to start the adb.exe program... it claims it can't connect either. So at least for the moment... I'm really limited as to when and where I can do B4A programming. I did adb connect 192.168.0.137 and even if it did work... what do I do if there is NO wifi?

When mounting as USB storage, you cannot connect via adb.
 
Upvote 0
Top