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
Post a Comment