B4X:
Sub Process_Globals
Public Image As Bitmap 'public image
Private SQL1 As SQL 'private sql object
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
Image = LoadBitmap(File.DirAssets, "Image.jpg")
SQL1.Initialize(File.DirInternal, "1.db", True)
End If
End Sub
Solution: https://www.b4x.com/android/forum/threads/quiz-find-the-bug.56132/page-2#post-353562
Last edited: