I give up. I have been trying to find information here about the error about initializing a label but can't find anything that helps
I have labels in a view that I load using acivity.loadlayout. I have seen replies here about not using the initialize if you have it in a view but I have done both and nothing helps. I started out the project with the GPS sample so I have the lblLat and lblLon.
They are defined in sub globals and I load the
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
GPS1.Initialize("GPS")
hc.Initialize("hc")
' lblLon.Initialize("lblLon")
' lblLat.Initialize("lblLat")
End If
Activity.LoadLayout("gpsmap")
Activity.LoadLayout("1")
End Sub
Not sure this is enough for anyone to try to find the problem. If not, let me know.
I have labels in a view that I load using acivity.loadlayout. I have seen replies here about not using the initialize if you have it in a view but I have done both and nothing helps. I started out the project with the GPS sample so I have the lblLat and lblLon.
They are defined in sub globals and I load the
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
GPS1.Initialize("GPS")
hc.Initialize("hc")
' lblLon.Initialize("lblLon")
' lblLat.Initialize("lblLat")
End If
Activity.LoadLayout("gpsmap")
Activity.LoadLayout("1")
End Sub
Not sure this is enough for anyone to try to find the problem. If not, let me know.