What steps will reproduce the problem?
1) Use the translator in an Android app(tested on 4.1.1)
2) Wait 2-3 minutes and use again
3) Library will hang on:
final int responseCode = uc.getResponseCode();
File: MicrosoftTranslatorAPI.java
Line: 177
What is the expected output? What do you see instead?
Response code will be transmitted successfully and the library will return a
result.
What version of the product are you using? On what operating system?
Latest Github fork
Please provide any additional information below.
Probably related to the connection not closing correctly, but code seems fine
for closing a HttpURLConnection.
Using the library again makes it work successfully. Waiting another 2-3 minutes
makes it get stuck again, and vice versa.
Original issue reported on code.google.com by omerkor...@gmail.com on 19 Nov 2013 at 2:19
Original issue reported on code.google.com by
omerkor...@gmail.com
on 19 Nov 2013 at 2:19