#Region Project Attributes
#ApplicationLabel: b4aVusikView
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False
#End Region
#AdditionalRes: ..\LibRes
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
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.
Private vv1 As VusikView
Private p1 As Panel
Private b1 As Button
Private b2 As Button
Private b3 As Button
Private b4 As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("main")
Dim mynotes() As String = Array As String("note1", "note2", "note3", "note4")
vv1.addNotes(mynotes)
p1.Color = Colors.ARGB(150,0,100,0)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub b1_Click
vv1.start
vv1.startNotesFall
End Sub
Sub b2_Click
vv1.stopNotesFall
End Sub
Sub b3_Click
vv1.resumeNotesFall
End Sub
Sub b4_Click
vv1.pauseNotesFall
End Sub