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.
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de ntoporcov
le 13 août 2019 à 21h45
I think they're down
Réponse de Travis Bell
le 13 août 2019 à 21h49
There was another blip with our search service, what's the error you're seeing?
Réponse de ntoporcov
le 13 août 2019 à 21h49
I was seeing 504, but we're back up! :)
Réponse de olegsolar
le 13 août 2019 à 22h03
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
Réponse de olegsolar
le 14 août 2019 à 07h42
Your server has changed the protocol TLS. Now server is setup with TLS 1.2. Android 4.x devices don't support that.