I want to develop a B4J app that will receive a request and then perform a key press event through code. The request will be sent via a B4A app. I understand that I can use an API to post the request from the B4A app and then have the B4J app get the response, but there will be a delay of maybe 2-3 seconds and I'm trying to get the process as instant as possible.
Is there a quicker way for the B4A app to connect/communicate with the B4J app so that there won't be any delay?
This example shows how simple it is to create network solutions with B4J, B4A and B4i. In this case the network communication is based on UDP. It implements a remote desktop mouse, where the Android device or iOS device control the desktop mouse. The B4J app uses jAWTRobot library to control...
This example shows how simple it is to create network solutions with B4J, B4A and B4i. In this case the network communication is based on UDP. It implements a remote desktop mouse, where the Android device or iOS device control the desktop mouse. The B4J app uses jAWTRobot library to control...
As long as you realize that UDP is a sessionless protocol, where speed and efficiency are more important than perfect reliability: there is no control over the correct arrival of the sent packets.