When I compile and install the ABMeter example without the debugger (Release) to my phone, it generates a NullPointerException every second time I start it.
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
Activity.LoadLayout("2")
MyCanvas.Initialize(Panel1)
psTemp.Initialize(psTemp.TYPE_TEMPERATURE)
psFakeTemp.Initialize(psFakeTemp.TYPE_MAGNETIC_FIELD)
End If
scale = Activity.Width
InitDrawingTools
GenerateBackground
drawMe(MyCanvas)
End Sub