I wanted to build an extended LoadBitmapSample with memory checking and error trapping and want to catch it and possibly call System.gc() and try again, or display either a smaller image / different image / return a custom error message
I want to extend this to have many options.
But I need to start with the basic library first to get it working above
Sub Process_Globals
End Sub
Sub Globals
Dim mm As SmartBitmap
End Sub
Sub Activity_Create(FirstTime As Boolean)
mm.loadbitmap(File.DirAssets,"moon.jpg")
Activity.SetBackgroundImage(mm)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub