Hi all,
sorry for my english....
I have this code
but return to me error 14.... can't open database.....
My file is on Files folder and I include on Files B4A to copy on my device......
can you help me please?
sorry for my english....
I have this code
B4X:
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
SonidoFondo.Initialize
BaseDeDatos.Initialize(File.DirDefaultExternal,"basededatos.db",True)
End If
Log("Número de líneas = " & BaseDeDatos.ExecQuerySingleResult("SELECT count(*) FROM Prueba"))
'Preparación del sonido de Fondo
PreparaSonidoDeFondo
SonidoFondo.Play
'Carga de la pantalla principal
Activity.LoadLayout("principal")
End Sub
but return to me error 14.... can't open database.....
My file is on Files folder and I include on Files B4A to copy on my device......
can you help me please?