hola amigos estoy,estoy empezando a conocer este programa, me da un error cuando intento abrir una base de datos sqlite, estoy utilizando el manager de mozilla. el codigo es el siguiente
'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim BDPlatinum As SQL
Dim Ruta As String : ruta=File.DirRootExternal & "/Platinum Android/Files"
Dim Basedatos As String: BaseDatos="/articulos.sqlite"
Dim RutaBaseDatos As String : RutaBaseDatos= File.DirRootExternal & "/Platinum Android/Files"
Dim CRBD As Cursor
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim ListClientes As ListView
End Sub
Sub Activity_Create(FirstTime As Boolean)
activity.LoadLayout("ListaClientesFact")
listclientes.Initialize("listview1")
If FirstTime Then
BDPlatinum.Initialize (RutaBaseDatos, Basedatos, True)
End If
Llene_Lista
End Sub
Sub Llene_Lista
CRBD.IsInitialized
Dim i As Int
Dim Cadena As String
For i = 0 To CRBD.RowCount - 1
CRBD.Position =i
cadena=CRBD.GetString("Negocio")
ListClientes.AddSingleLine (Cadena)
Next
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub BCancelar_Click
StartActivity("MenuFacturacion")
activity.Finish
End Sub
me dice que no puede abrir la base de datos
'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim BDPlatinum As SQL
Dim Ruta As String : ruta=File.DirRootExternal & "/Platinum Android/Files"
Dim Basedatos As String: BaseDatos="/articulos.sqlite"
Dim RutaBaseDatos As String : RutaBaseDatos= File.DirRootExternal & "/Platinum Android/Files"
Dim CRBD As Cursor
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim ListClientes As ListView
End Sub
Sub Activity_Create(FirstTime As Boolean)
activity.LoadLayout("ListaClientesFact")
listclientes.Initialize("listview1")
If FirstTime Then
BDPlatinum.Initialize (RutaBaseDatos, Basedatos, True)
End If
Llene_Lista
End Sub
Sub Llene_Lista
CRBD.IsInitialized
Dim i As Int
Dim Cadena As String
For i = 0 To CRBD.RowCount - 1
CRBD.Position =i
cadena=CRBD.GetString("Negocio")
ListClientes.AddSingleLine (Cadena)
Next
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub BCancelar_Click
StartActivity("MenuFacturacion")
activity.Finish
End Sub
me dice que no puede abrir la base de datos