How to implement Multithreading in Android application so as to increase responsiveness of UI. ?
+2
A:
UI in Android is already handled in a separate thread, so you don't need to worry about it. The faq has a section on Handling Expensive Operations in the UI Thread if that is what you need to solve.
aioobe
2010-06-02 14:59:52
Will go through the link. Thanks
success_anil
2010-06-02 18:14:06
At line mHandler.post... Application is stopping unexpectely .
success_anil
2010-06-02 18:44:00
+1
A:
I suppose you want to do some long and consuming task in the background so as not to lock the UI thread.
AsyncTask seems easier to use even though there are other approaches like using runnables and handlers.
primalpop
2010-06-02 15:06:49
A:
Actors or similar event-based, managed lightweight threads are nice to treat UI events in a low-overhead fashion.
Radtoo
2010-06-02 19:07:40