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 في 9:45 مساءا
I think they're down
رد بواسطة Travis Bell
بتاريخ أغسطس 13, 2019 في 9:49 مساءا
There was another blip with our search service, what's the error you're seeing?
رد بواسطة ntoporcov
بتاريخ أغسطس 13, 2019 في 9: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 في 7:42 صباحا
Your server has changed the protocol TLS. Now server is setup with TLS 1.2. Android 4.x devices don't support that.