Handling Threads In android

Forums » Android - General > Handling Threads In android
July 20, 2011 5:40:31 AM PDT (one year ago). Seen 4,031 times. One reply.
Photo Karan Dhawan
Kochar Technosoft
Member since Jul 20, 2011
Forum Posts: 1
Hi

I have a application which does some background processes like downloading an XML from a server parsing it. I am performing these tasks in Threads.
The problem comes when Sometimes threads are not getting CPU time for long time. It could be anytime between 15 minutes to some hours, and then the thread start behaving properly . Please specify how should i handle this.
Edited 2 times. Last edit by Karan Dhawan on Jul 20, 2011 at 5:40:31 AM (about one year ago).
March 10, 2012 11:18:33 PM PST (one year ago)
Photo Jeyakumaran Mayooresan
Software Engineer
Eyepax IT Consulting
Member since Jun 24, 2011
Forum Posts: 6
I guess you should try AsycTask. Its well optimized threading for Android. Gud luck