Android KSOAP2 throws SocketTimeoutException

后端 未结 2 1340
忘了有多久
忘了有多久 2021-01-25 16:52

I have used the above library for SOAP objects in my Android project, in order to connect to a .NET web service. The application was working fine till I made some changes and al

相关标签:
2条回答
  • 2021-01-25 17:04

    interesting, while increasing/decreasing target APIs and playing around with manifest, please make sure you have the internet permission:

    <uses-permission android:name="android.permission.INTERNET" />
    
    0 讨论(0)
  • 2021-01-25 17:15

    Got this fixed after I had another couple of Exceptions going on with the app and some other kind folk on my other question replied and suggested to use AsyncTask. Once got the AsyncTask working, this error also went away. So, guess this is fine to assume the issue was caused by the same problem with doing network operation on GUI activity.

    Many thanks for your assistance. Liaqat.

    0 讨论(0)
提交回复
热议问题