B4J Question Communication between apps

bogdanc

Active Member
Licensed User
Longtime User
Hi All!

I have b4j app and another PC app.
I would like to have some communication between these 2 app.
Is there any idea how to get this with b4j.
 

bogdanc

Active Member
Licensed User
Longtime User
What is this other pc app? Is this an app that you developed?

Hi Erel!

Yes I developed both app.


I will give a quick overview.

  • 1st : app b4j I'm using to collect some data from external web (with some measurements)
  • 2nd: is a LabView which do some tcp communication, data base updates etc.
No I am sharing data by text file.

1st app read the data save on hard drive as text file and by labview I'm reading this text file.

I wish to have something without text file to get some interactions between.
 
Upvote 0

bogdanc

Active Member
Licensed User
Longtime User
The simplest way to communicate between two processes is with UDP.

If both apps are developed with B4X then you can use B4XSerializator to send or receive objects instead of raw bytes.

Just only one app is developed on B4J.

Both apps are on same PC.
 
Upvote 0

bogdanc

Active Member
Licensed User
Longtime User
The simplest way to communicate between two processes is with UDP.

If both apps are developed with B4X then you can use B4XSerializator to send or receive objects instead of raw bytes.
Erel any Tutorial of that?
 
Upvote 0

bogdanc

Active Member
Licensed User
Longtime User
Firewalls are not relevant here as this is a "loopback" communication.


Another thing that I would prefer to not use a UDP that this app will work in a "busy environment" (many different devices , networks relations, streams etc).
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…