App1 that start App2 passing it some parameters

I would like to make an app that starts a second app by passing it parameters
For example, the first app reads the values from the serial port, at a certain point it will start the second app by passing it information relating to the data processed (numeric values, alphabetic values or a web link)
How can we do this?

From the documentation:

Scroll down to " Passing values between applications"

In this tutorial, which is in Spanish, App1 sends two numbers (8,4) to App2, it performs the sum 8 + 4 = 12. Returns this value 12, to App1.
In this example the two applications are previously active, open.


Exactly what I was looking for, many thanks