Android Question [solved]Universal Tween Engine & StartActivity?

anOparator

Active Member
Licensed User
Longtime User
I tweened 3 buttons(ImageViews) onto the screen with a Start button.
The first of 3 when clicked should reverse the animation and then show a web page via StartActivity.

However, the web page shows and only after pressing the Back button on the device does the animation end.

How can the tween be ended before starting Activity2?
 

Attachments

  • tmp_tweenFinish-21738055.zip
    12.2 KB · Views: 261

anOparator

Active Member
Licensed User
Longtime User
I put StartActivity in a timer:
B4X:
Sub Timer1_Tick()
Countdown = Countdown - 1
If Countdown = 0 Then
ToastMessage("Bingo" , True)
StartActivity (Activity2)
Timer1.Enabled = False
End If
End Sub
Thanks rbsoft - Poll. the Timer
 
Upvote 0
Top