Android Question Share data between Mobile and Desktop application


Active Member
Licensed User

What is the best way to share data between a mobile (b4a) application and a Desktop (b4j or other language) in a local network?



Well-Known Member
Licensed User
There's a good tutorial here -> [Server] Upload files from your B4A app to your B4J server over the internet

The tutorial is set up for comms between B4A & B4J over the internet, but it should work in a local network as well.

The other option would be to use Network + AsyncStreams + B4XSerializator -> [B4X] Network + AsyncStreams + B4XSerializator

The tutorial shows 2 Android devices talking to each other, but it should be pretty easy to implement the same thing in B4J for the desktop side.

You could also use AsyncStreams over Bluetooth I guess.

- Colin.
Upvote 0