We are currently making a weather application after receiving JSON from the openweathermap site.
In the emulator, the weather data values are parsed normally
On the actual terminal, only the drawble or icon indicating the temperature appears, and the weather data value does not appear.
Usually, the actual terminal cannot parse JSON or XML files?
1. This is the permission of the current app
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
There is nothing wrong with them or manifest, so I wonder if you missed anything.
android parse weather
Take a log and check it out.
I don't know if I'm good at parsing when I get paid Or you don't even get paid.
If you ask me like this, I don't know.
© 2024 OneMinuteCode. All rights reserved.