'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Type TrackData(TrackPath As String, Track As String)
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim ThisTrack As TrackData
ThisTrack.Initialize
ThisTrack.TrackPath = ""
ThisTrack.Track = ""
DoSomething
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub DoSomething
ThisTrack.TrackPath = File.DirAssets
ThisTrack.Track = "Hello.mp3"
End Sub