#Region Project Attributes
#ApplicationLabel: B4A Example
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#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
Dim EditText1 As EditText 'will hold a reference to the view added by the designer
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout1") 'Load the layout file.
End Sub
Sub Button1_Click
ToastMessageShow("ButtonPressed EditText1=" & EditText1.Text, False)
End Sub
Sub EditText1_TextChanged (Old As String, New As String)
Log( "Old=" & Old )
Log( "New=" & New )
End Sub
Sub EditText1_EnterPressed
ToastMessageShow("Enter EditText1=" & EditText1.Text, False)
End Sub
Sub EditText1_FocusChanged (HasFocus As Boolean)
End Sub