Android Question Passing a variable/value to activity

Paul Boyle

Member
Licensed User
Hi

I'm trying to pass a variable/value to an activity to populate the text of a label.

I click a button on the Home Page of the app, btn_1Plyr

Sub btn_1Plyr_Click

'Load Layout/Activity
StartActivity(Page_1Plyr)

End Sub

Sub Activity_Create(FirstTime As Boolean)

'Load Layout
Activity.LoadLayout("lay_1Plyr")

End Sub

When the activity Page_1Plyr starts it loads Layout lay_1Plyr containing a label, lbl_Scoreboard. I want to populate lbl_Scoreboard.text. = "501". I need to pass it on the btn_1Plyr_Click action.

Any ideas?

Many Thanks

P.
 
Top