For testing reasons, I wrote a code like this:
Why???
Thanks
Peter
B4X:
Sub Activity_Create(FirstTime As Boolean)
...
StartActivity (Synch)
Activity.Finish
' here the activity synch should start to run
Basis.debuginfo ("Before stay=" & stay & " Script=" & script,False)
If stay = False Then
Basis.debuginfo ("should start activity camera",False)
If script="Draw/" Then StartActivity (Draw) Else StartActivity (Kamera)
' but I see that activity Kamera starts
script=""
Activity.Finish
Why???
Thanks
Peter