Giusy Active Member Licensed User Jul 4, 2018 #1 I have a problem with global variable. I need to have one global variable. This variable may be changed in evary of my six activity. What are the instrucion that I need to write in every activity? Thanks
I have a problem with global variable. I need to have one global variable. This variable may be changed in evary of my six activity. What are the instrucion that I need to write in every activity? Thanks
Peter Simpson Expert Licensed User Longtime User Jul 4, 2018 #2 You can store shared variables in the starter service @Giusy/ In starter service. B4X: Public TestString As String In any activity. B4X: Starter.TestString = "Hello World" Enjoy... Last edited: Jul 4, 2018 Upvote 0
You can store shared variables in the starter service @Giusy/ In starter service. B4X: Public TestString As String In any activity. B4X: Starter.TestString = "Hello World" Enjoy...
Giusy Active Member Licensed User Jul 4, 2018 #4 Thank you very much Peter. It work very well Upvote 0