Italian Accesso sqlite tramite ip

Xfood

Expert
Licensed User
Buongiorno a tutti
vorrei utilizzare un db sqlite residente su un pc in rete,
direttamente con un terminale android
ho provato questa stringa, ma va in errore
B4X:
sql.Initialize("\\192.168.1.17\c-drive\SysPc\DbCasse\", dbname, False)
qualche idea per accedere ad un db in rete, senza rdc e vari...
Grazie a tutti per i suggerimenti
 

Xfood

Expert
Licensed User
Neanche tramite smb??
Stavo cercando di fare varie prove,
Riesco a copiare da e verso il terminale android , ma no ad aprire il file
 

josejad

Expert
Licensed User
Longtime User
 

Magma

Expert
Licensed User
Longtime User

Xfood

Expert
Licensed User
Visto che l'unica soluzione sembra utilizzare rdc2, mi serviva un chiarimento
Rdc2 tiene sempre aperto il db?
Oppure lo apre ad ogni richiesta, esegue la query e lo richiude?
 

Magma

Expert
Licensed User
Longtime User
Before some years... tried to find a solution for that...


...Ofcourse that is far away that you wanna do... is just copying the file (for you the sqlite db)... you editing... and then return it back... but also need Android studio (bliach).
If you wanna do something like that will be better using our perfect tools.. made at b4x for b4x..

jserver (to have it in desktop pc... and giving the possiblity to download the sqlite db to android)
httpsutils (from android to download the file from desktop-server... or upload it at the end)

All these just as an idea... but this means that will be only for one user per time (the db)
 

Magma

Expert
Licensed User
Longtime User

Xfood

Expert
Licensed User
unfortunately the db is updated continuously, i cannot copy it every 10 minutes, i think i will use rdc2
 
Top