Here is the code;
(This is just what you get with you start a new program and save it. A program with an image added. My name for the view file created in the designer matches the file name, when I try different names and watch capitalization, tried different names, ie test, mytest, example, even dufensmertz. Always get that unknown member error.
#Region Project Attributes
#ApplicationLabel: My First B4A Program
#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
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim ImageView1 As ImageView
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("Layout")
Activity.LoadLayout{mytest}
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
'
'This Is Activity crude attmpt
'To learn To use the editor AND the virtual device In Basic For Android
'