jcesar Active Member Licensed User Longtime User Jan 18, 2019 #1 Hi What is the best way to share data between a mobile (b4a) application and a Desktop (b4j or other language) in a local network? Thanks
Hi What is the best way to share data between a mobile (b4a) application and a Desktop (b4j or other language) in a local network? Thanks
Computersmith64 Well-Known Member Licensed User Longtime User Jan 18, 2019 #2 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
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.