JQUERY + Apache Cordova

0

I have a problem with querys and with apache cordova. In principle the server responds with an XML, I process it well and everything. But then it does about 42,000 querys. What reality has to do. But this same thing causes the tablet to get caught. Is there any way to make those querys do not pete the tablet?

Greetings.

    
asked by Ruben 17.01.2018 в 11:47
source

1 answer

0

The simplest solution is to do all this insertion process in another thread, because it is most likely that you are blocking the main thread until the 42,000 inserts are finished.

Unfortunately I do not have much knowledge of Apache Cordova and I can not give you an example: (

But in Cordova's documentation there is a section of Threading what you need.

    
answered by 17.01.2018 в 13:22