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.
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την ntoporcov
στις 13 Αύγουστος 2019 στις 09:45 ΜΜ
I think they're down
Απάντηση από τον/την Travis Bell
στις 13 Αύγουστος 2019 στις 09:49 ΜΜ
There was another blip with our search service, what's the error you're seeing?
Απάντηση από τον/την ntoporcov
στις 13 Αύγουστος 2019 στις 09:49 ΜΜ
I was seeing 504, but we're back up! :)
Απάντηση από τον/την olegsolar
στις 13 Αύγουστος 2019 στις 10:03 ΜΜ
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
Απάντηση από τον/την olegsolar
στις 14 Αύγουστος 2019 στις 07:42 ΕΊΜΑΙ
Your server has changed the protocol TLS. Now server is setup with TLS 1.2. Android 4.x devices don't support that.