I am developing an application in Android Studio and get JSONObject from URL. Until recently, everything worked well. Unfortunately, now I can’t get JSONObject by using device with Android 4.1 or 4.4. But if I use a device with Android 7.1 everything works well. Please help me understand this problem.
Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.
Want to rate or add this item to a list?
Not a member?
Odpowiedź użytkownika ntoporcov
13 sierpnia 2019 o godz. 9:45PM
I think they're down
Odpowiedź użytkownika Travis Bell
13 sierpnia 2019 o godz. 9:49PM
There was another blip with our search service, what's the error you're seeing?
Odpowiedź użytkownika ntoporcov
13 sierpnia 2019 o godz. 9:49PM
I was seeing 504, but we're back up! :)
Odpowiedź użytkownika olegsolar
13 sierpnia 2019 o godz. 10:03PM
The program see the JSONObject from URL as null. Test on the emulator and on a real device. A device with Android 4.1 has stopped seeing JSONObject. This has happened recently. Before that, everything worked.
P.S. this is not due to a temporary failure and error 504
Odpowiedź użytkownika olegsolar
14 sierpnia 2019 o godz. 7:42AM
Your server has changed the protocol TLS. Now server is setup with TLS 1.2. Android 4.x devices don't support that.