Android Question Best way to send data from B4J server app to android app

Computersmith64

Well-Known Member
Licensed User
Longtime User
Are you wanting to send unsolicited messages to the Android app, or would it be in response to a request from the app? If the latter, I have a B4J app that uses the Server object to listen on a specific port for a specific request & then responds with the relevant data which I parse on the app. On the Android app I use a HttpJob to send the request.

- Colin.
 
Upvote 0
Are you wanting to send unsolicited messages to the Android app, or would it be in response to a request from the app? If the latter, I have a B4J app that uses the Server object to listen on a specific port for a specific request & then responds with the relevant data which I parse on the app. On the Android app I use a HttpJob to send the request.

- Colin.
Hi,
A nodejs api send a message to a B4A app. Similar to socket.io nodejs library.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Wait a minute, are you talking about this library???
probably this one?

 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
probably this one?


I never knew that existed Manfred, I've just downloaded the lib to look at.

Thank you...
 
Upvote 0
Top