Thanks for this help
My idea is to save all the parameters in an external Excel file (easier to set-up for non programming user)
Second reason is because I understood that all parameters have to be in "main" activity in order to be available to other activities (and my main activity becomes too long and not easily readable)
That brings other issues.
My program “jumps” from an activity to another without problem (thanks to “CallSubDelayed2 »)
But when I come back to main program and if the user wants to quit :
if I use “Activity.Finish » as recommended, my phone shows the previous activity screen (which should be still in memory ?)
if I use « ExitApplication », first issue is that my call to a sub in starter is not run, and second issue, I got a black screen on my phone (with only the title of my application)
Could you help to quit correctly ?
Sub ButtonExit_Click ' Bouton Eteindre
Log ("Exit Click")
CallSubDelayed2(Starter,"Transmet", "MExtinction") ' Macro to shut off equipments
ExitApplication
' Activity.Finish
End Sub