I am using ksoap2 to create a user registration application in Android.
When I send request to the server and there is no response within 10 seconds I want to prompt the user with a "Try again" message. If the server responds within 10 seconds I want the program to proceed without the message.
How can I achieve this? Is there a TimerTask or any method for Timeout in KSoap2?