External database is not loading on android [closed]

2

I need to make an application Android that accesses a servidor , downloads .s3db and queries about downloaded files. I can usually download to data/data/meu-pacote/databases/ and I can also do operations on those files. But there is a problem:

For some reason, I can only do operations on arquivos.s3db when opening the application a second time. First you need to install, click download again (this time it does not download because it already has a file of the same name in the folder, but I still need to click) after closing the application and open again. Then the button that does the query works normally ...

I've tried to use threads and activitys but it does not work at all ... does anyone have any idea what this might be? I use android studio

    
asked by anonymous 07.06.2015 / 15:34

0 answers