|
| Iniciado por peter.sippel, 28,ene. 2021 09:17 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 28,enero 2021 - 09:17 |
Hi. I want to create my first mobile application with one HFSQL DB File for reading some data. On my laptop everything fine and works, but I seem to have 0 records in the DB file on the mobile. No DB Error but it just can't find the records because the number of records is Zero. Do I have to add another step to integrate the DB file ? I thought it is packaged automatically with the apk. And where is it located, once deployed ?
TIA. Peter Windev/WebDev/Moble 24 |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 935 mensajes |
|
| Publicado el 28,enero 2021 - 22:27 |
Hi. Is the file name correct? Note that Android is case sensitive in file names.
Rubén |
| |
| |
| | | |
|
| | |
| |
| Publicado el 29,enero 2021 - 20:26 |
... I thought it is packaged automatically with the apk...
1. wrong forum... You would have more answers in the MOBILE forum
2. No, it's not automatic (and that's good, or we would all overwrite the local DB each time we make an update) There are several ways of doing what you want... Personally, I prefer to: - check at startup that it's first startup (either DB is missing, or ini file flag, etc) - if that is the case, then DOWNLOAD the DB/files needed (as a zip) and set them where they are needed
This means that this will be done only when really needed (and you can code it any way you need) and that you can update the files without having to republish a new app on the play store |
| |
| |
| | | |
|
| | | | |
| | |
|