I have some EditBoxes and Spinners with some values and a button called "Send". What I'd like to do is to send that values to a list (or map) which is in another activity Module as Public List . Is it possible? Thank you in advance!
In Code Modules, you can place variables in the Process_Globals that can be used from anywhere:
B4X:
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
code modules and activities that are part of the same app.
when you say something , you do mean part of the same app, right? otherwise, it gets a little tricky.
- If you have the public list in the starter service, you can add in activity_pause the values in your list, and read them in your new activity.
- You can save them in kvs the same way above.
- You can use CallSubDelayed using an array with the edittext values as parameter
- You can use a panel to show the new layout, instead a new activity.
- If you have the public list in the starter service, you can add in activity_pause the values in your list, and read them in your new activity.
- You can save them in kvs the same way above.
- You can use CallSubDelayed using an array with the edittext values as parameter
- You can use a panel to show the new layout, instead a new activity.