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.
Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.
Wil u hierdie item gradeer of tot ’n lys toevoeg?
Nie ’n lid nie?
Antwoord deur ntoporcov
op 13 Augustus 2019 om 9:45 NM
I think they're down
Antwoord deur Travis Bell
op 13 Augustus 2019 om 9:49 NM
There was another blip with our search service, what's the error you're seeing?
Antwoord deur ntoporcov
op 13 Augustus 2019 om 9:49 NM
I was seeing 504, but we're back up! :)
Antwoord deur olegsolar
op 13 Augustus 2019 om 10:03 NM
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
Antwoord deur olegsolar
op 14 Augustus 2019 om 7:42 VM
Your server has changed the protocol TLS. Now server is setup with TLS 1.2. Android 4.x devices don't support that.