Android SQLITE only written when debugging -


i using implementation of intentservice fetch json network, parse , insert database using contentprovider. getting inconsistent results. when run application nothing gets inserted db, when debug records inserted properly. when running in real time writing parsed json log , shows fine. won't write db without being in debugger. has experienced issue this?

originally had 2 intentservices running, 1 fetch json , insert database , other fetch large images. thought best start them both @ same time, appears bad idea. disabled image fetching service database writes , reads have been working fine.

this solves original problem doesn't answer of questions me how many separate services can run @ once or sqlite thread safe. anyways, if happens uppon solution.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -