[android-developers] How best to query web repeatedly.

2011-01-14 Thread cellurl
I run GPS, and query a web based mysql every 50 meters of driving. People tell me the app locks up and has lag, so I put each query in a new thread. This seems to create a backlog of threads (at least in the emulator). URL url = new URL(http://www.website.org/marks.php;);

Re: [android-developers] How best to query web repeatedly.

2011-01-14 Thread Kumar Bibek
Well, you have to decide what's best for your application. 1. Spawn any number of threads, but manage them properly 2. Preferably. 3. Good idea. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Jan 15, 2011 at 9:42 AM, cellurl gpscru...@gmail.com wrote: I run GPS, and