Android Tutorial B4A-Bridge a new way to connect to your device

Status
Not open for further replies.

Charlie

Member
Licensed User
Longtime User
The stack trace says there's a FileNot Found Exception looking for /mnt/sdcard/Android/data/anywheresoftware.b4a.b4abridge/files/temp2.apk

I'm sure my external SD card mounts as /mnt/extsd/.. Is it possible that file.DirDefaultExternal points to /mnt/extsd/.., but something tries to write directly to /mnt/sdcard/..? There is no /Android/Data under /extsd/, and the version under /sdcard/ does not contain a /anywheresoftware.b4a.b4abridge/ sub directory.
 

Charlie

Member
Licensed User
Longtime User
Did some poking... I opened a terminal window, then started SU access.

Attempts to create anything under /mnt/sdcard returns an error - read only file system. I can create anything I like under /mnt/extsd.
 

Charlie

Member
Licensed User
Longtime User
The device is a low end "no-name" from China. From its "about tablet" page:

Model number is TWD_MID
Android 4.04
Kernel 3.0.8+
It's Intel Atom based.

I know it's not mainstream, but with a price tag about $50 US including shipping, I suspect there are going to be a lot of them in developer hands before too long.

It ships with 802.11G, webcam, gravity sensor, HD-video capability, 800x480 screen and root access is enabled. The only things missing is Bluetooth, and I'm also having trouble finding a proper set of USB drivers. And of course B4A

I'd say about 85% of apps tried to date work well.
 

Charlie

Member
Licensed User
Longtime User
That's an excellent idea! If that is truly the only issue, I'll create a version that is configurable and make it available. I'll let you know how it goes.
 

Charlie

Member
Licensed User
Longtime User
Just a quick update... I made the changes. I still get the failure, but there are no Android logs now to help chase it. I got busied out on another project, and have had to park this for a couple weeks, so I have not figured out why. Stay tuned, and any suggestions are most welcome.
 

Gaver Powers

Member
Licensed User
Longtime User
B4ABridge needs external storage to load the apk to before installation. On modern high end devices this is built in. Low end and older devices often need an SD card to provide this. Storage Options | Android Developers

How can I check my Samsung Tab to determine if I need to purchase an SD card to enable b4aBridge, or if it will support the application in it's current configuration?
 

vecino

Well-Known Member
Licensed User
Longtime User
Hello, with B4A Bridge can connect via wireless or bluetooth, to choose from, however, is there a way to connect via LAN?

Thanks and regards.
 

vecino

Well-Known Member
Licensed User
Longtime User
Hello, how do I do?, Is that when I choose the wireless connection shows the message "connecting to wifi" and stay there.

Thanks and regards.
 

vecino

Well-Known Member
Licensed User
Longtime User
It is connected via a standard RJ45.
The device is a POS system that consists of a android tablet and ticket printer.
 

vecino

Well-Known Member
Licensed User
Longtime User
Hello, the tablet has fixed IP device.
I can ping from windows to the tablet.
I do not know how to connect, because B4A not connect.



Thanks and regards.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…