GithubHelp home page GithubHelp logo

mercandj / android-dev-challenge-compose-4 Goto Github PK

View Code? Open in Web Editor NEW
161.0 2.0 24.0 97.72 MB

Weather app done in Jetpack Compose for the #AndroidDevChallenge 2021 ๐ŸŒฆ โ˜€๏ธ. Neumorphism UI.

Home Page: https://developer.android.com/dev-challenge

License: Apache License 2.0

Kotlin 100.00%
jetpack-compose androiddevchallenge androiddevchallenge-compose neumorphism android-weather android-weatherapp jetpackcompose

android-dev-challenge-compose-4's Issues

App crashes on startup due to a parsing JSONException

Stacktrace:

2021-07-09 09:52:46.558 10151-10468/com.example.androiddevchallenge E/AndroidRuntime: FATAL EXCEPTION: weather_load
    Process: com.example.androiddevchallenge, PID: 10151
    org.json.JSONException: No value for weather
        at org.json.JSONObject.get(JSONObject.java:400)
        at org.json.JSONObject.getJSONArray(JSONObject.java:595)
        at com.example.androiddevchallenge.weather_api.WeatherApiManagerImpl.getWeather(WeatherApiManagerImpl.kt:49)
        at com.example.androiddevchallenge.weather.WeatherManagerImpl$load$1.run(WeatherManagerImpl.kt:41)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:246)
        at android.os.HandlerThread.run(HandlerThread.java:67)

Root cause: Wheather API throws 429.

{
  "cod": 429,
  "message": "Your account is temporary blocked due to exceeding of requests limitation of your subscription type. Please choose the proper subscription http://openweathermap.org/price"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.