Skip to content Skip to sidebar Skip to footer

HttpGet Request Error W/System.err(6388): Android.os.NetworkOnMainThreadException

I would like to get returned value from my webservice. I have my class which Manages the HTTPRequest: public class RatePromotions { public RatePromotions() {} public

Solution 1:

Sounds like you are trying to make an http request in the UI thread. Since Android 3.0 you have to put your request in another thread.

See that post : HonyComb and DefaultHttpClient


Post a Comment for "HttpGet Request Error W/System.err(6388): Android.os.NetworkOnMainThreadException"