Android remote service query
If i want to call a function of a remote service from within the UI thread.. how do i do it开发者_开发技巧?
You can use AsyncTask to call a remote service. This performs background operations and publish results on the UI thread without having to manipulate threads .
check this link
精彩评论