'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.
Dim EditText1 As EditText
Dim Word As String
Dim SomeText As String
Dim SomeText2 As String
Activity.LoadLayout("1")
SomeText = ";ghost;Ghost;ball;"
SomeText2 = ";test;Test;"
End Sub
Sub Activity_Create(FirstTime As Boolean)
End Sub
Sub Activity_Resume
End Sub
Sub ImageView1_Click
EditText1.Visible = True
Word = EditText1.Text
If SomeText2.Contains(";" & Word & ";") Then
ToastMessageShow("Yes " &word, False)
Else
ToastMessageShow("No", False)
End If
End Sub
Sub Button1_Click
Word = EditText1.Text
If SomeText.Contains(";" & Word & ";") Then
ToastMessageShow("Yes " &word, False)
Else
ToastMessageShow("No", False)
End If
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub