NetworkOnMainThreadException [duplicate]

With honeycomb you can not perform a networking operation on its main thread as documentation says. For this reason you must use handler or asynctask. There is no another way to do it.

here you can find 2 examples written in turkish about networking operation. maybe they help.

  • 3. party kütüphane kullanmadan (ksoap2), (it includes english translation)

  • AsyncTask class’tan dönen parametreyi handle etmek. , google translate

Leave a Comment