Hi
My database copy each time when i run application. Records delete.
How can i copy database just once if no exist . I tried with CopyDBFromAssets but seems i don't know how to use.
My database copy each time when i run application. Records delete.
How can i copy database just once if no exist . I tried with CopyDBFromAssets but seems i don't know how to use.
B4X:
DbPath=DBUtils.CopyDBFromAssets("mydata.db")
sql.Initialize (DbPath, "mydata.db", True)