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.
Dim decoded_message As String ' holds message
Dim textbox As EditText
Dim scvText As ScrollView
Dim copy_button As Button
Dim decode_button As Button
Dim paste_button 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")
decoded_message = "Top" & CRLF & CRLF & "Hello" & CRLF & CRLF & "Testing"
textbox.Initialize("")
scvText.Panel.AddView(textbox,1%x, 0, scvText.Width-1%x, 100%y)
textbox.TextSize = 18
textbox.text = decoded_message
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub paste_button_Click
textbox.text = decoded_message
End Sub
Sub decode_button_Click
End Sub
Sub copy_button_Click
End Sub