java - Are socket connection UI thread blocking in Android? -


i'm new @ socket programming , i've read several tutorials have idea on when start. still have little knowledge android ui thread , socket programming.

when using http request, should operation in different thread prevent ui blocking , getting anr. question socket connection? works same http request code execution stops until device gets response, therefore, have operations in background thread prevent anr?

yes, socket connection , read operations blocking.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -