My android application is using a shared library call to connect to a USB remote device.
In a few of the commands, the communication is a bit time consuming, so that it will take a few(say 30) seconds to get the response.
In such cases the application terminates after waiting for a few seconds.
How can I increase this time interval?