I am newbie and I am trying to download from a remote server a full database to my corona application. Database is in mysql and I have a php that wrap information using Json and them my app read information and put it in local database.
My application works just fine in simulator, it takes around 5 minutes to download and populate information. My webserver is the same machine that is running corona simulator. almost the full time used is insertind data in sqlite inside the application, php response is fast.
I am downloding 13 tables all in paralel and I am using timer.performwithdelay each 10 seconds to validate status of download and insert in database per table.
All testing went right in simulator but them when I deployed in my phone galaxy S2 the application shows all the time the message
“application is not responding.Would you like to close it?”
I have a progressBarWidget that show progress of inserts and each time that I run it the percentage when message appears change sometimes is in 30% others in 47% or 75%.
If I click in wait application never finish anyway.
any idea how handle this or get any error message that can help.