Hi
I have activity that i need start it to 3 times
This activity have a public variable and i show variable's data in Activity_Create
i start activity with below code
I need open actName activity for > 1 times when i need
When i use mention code for start activity,msgbox only show last message "number 4"
While i need show msgbox for each data in separator activity
Actually i need make many instance activity from actName
I researched about Activity's Attribute (tastkInifinity,lanuchMode,...) but i couldn't found any good result
Maybe?
I have activity that i need start it to 3 times
This activity have a public variable and i show variable's data in Activity_Create
B4X:
Sub Process_Globals
dim data as string
End sub
Sub Activity_Start(First as boolean)
Msgbox(data,"Alert")
End Sub
i start activity with below code
B4X:
actName.data = "number 1"
startactivity(actName)
sleep(2400)
actName.data = "number 2"
startactivity(actName)
sleep(2400)
actName.data = "number 4"
startactivity(actName)
I need open actName activity for > 1 times when i need
When i use mention code for start activity,msgbox only show last message "number 4"
While i need show msgbox for each data in separator activity
Actually i need make many instance activity from actName
I researched about Activity's Attribute (tastkInifinity,lanuchMode,...) but i couldn't found any good result
Maybe?
Last edited: