My android app deals with lots of http calls.
For this I have created a thread in Application which only deals with HTTP calls.
There are two handler, one for UIs and other the HTTP thread handler.
Also I differentiate between HTTP requests by message bundle key "method"
My concern is "is it effecient as far as CPU/resources are concerned"
Asynctask may be other option. But there are n number of requests then there is n number of threads created.
Please enlighten me about asynctask pool size per activity.
Please help make my decision among best technique.
Users browsing this forum: No registered users and 9 guests