Initialize Label Error
You should post your project as a zip file (IDE menu Files / Export As Zip).
So we can see what you have done and how.
Best regards.
Klaus, it is a commercial product so I am not sure how much I can show
What I have now is a layout created in the designer. It has 2 labels, a webview and 3 buttons.
I generate the members and add the code to them. In Sub Globals I have this:
Sub Globals
Dim ListView1 As ListView
Dim lblLon As Label
Dim lblLat As Label
Dim Button1 As Button
Dim Button2 As Button
Dim hc As HttpClient
Dim strURL As String
Dim WebView1 As WebView
Dim Button3 As Button
End Sub
In Activity_Create I have this after my last try:
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
GPS1.Initialize("GPS")
hc.Initialize("hc")
End If
lblLon.Initialize("lblLon")
lblLat.Initialize("lblLat")
Activity.LoadLayout("gpsmap")
End Sub
When I open the app on my phone I get:
"An error has occured in the sub: main_globals (java line:416) java.lang.RuntimeException: Object should first ne initialized (Label). Continue?"