Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private DBr As NavigatorBar
Private Panel1 As Panel ' Main panel where the views linked to the table will be attached
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Layout1")
File.Copy(File.DirAssets,"user.s3db",File.DirInternal,"user.s3db")
DBr.ConnectDB(File.DirInternal,"user.s3db",False)
DBr.FontAW=Typeface.FONTAWESOME
DBr.AddGroupView(Panel1)
DBr.Query("SELECT * FROM user","ID")
End Sub