Setting the Required Timeout

Set the timeout value upto which the application waits until the request reaches the server.

The following code illustrates how to set the required timeout.
preference.setPreference(ISDMPreferences.CONNECTION_TIMEOUT_MS, "1000");