This is just a proof of concept to show that Device A behave like a server hosting a database and Device B connects to it accessing the "shared" database. It is a response to this question.
Device A - Server (contains database)
Device B - Client (does not have database)
The idea is by implementing the Network example using AsyncStreams and B4XSerializator as explained here.
Use "Server" build configuration to compile the server.
Use "Default" build configuration to compile the client.
In client app, enter the server's IP to connect to.
You can also test with B4J.
Device A - Server (contains database)
Device B - Client (does not have database)
The idea is by implementing the Network example using AsyncStreams and B4XSerializator as explained here.
Use "Server" build configuration to compile the server.
Use "Default" build configuration to compile the client.
In client app, enter the server's IP to connect to.
You can also test with B4J.
Attachments
Last edited: