Call SOAP service from android with ksoap error [duplicate]
问题 This question already has answers here : How to fix 'android.os.NetworkOnMainThreadException'? (55 answers) Closed 6 years ago . I have a webservice running on Google app engine, and i would to call a available service from an android device. I've follow and merge code of most tutorial about KSoap2, but i still obtain an exception on android. this is the code: private static String METHOD_NAME = "getData"; private static String SOAP_ACTION = "http://example.com/getData"; private static String