Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points

    Can't get JSON data. I also get the error message even though I can't find any errors.

    Posted January 14, 2018 5:47pm by Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Caleb Seeling
    Caleb Seeling
    1,189 Points

    Cant get Log(Data from forecast)

    Posted December 26, 2017 8:45pm by Caleb Seeling
    Caleb Seeling
    1,189 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    0 Answers

  • gustp
    gustp
    2,526 Points

    call.enqueue callback is failing

    Posted August 15, 2017 5:03pm by gustp
    gustp
    2,526 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Nyle Cohen
    Nyle Cohen
    448 Points

    Error but I'm following allong

    Posted June 4, 2017 9:41am by Nyle Cohen
    Nyle Cohen
    448 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Aritro Banerjee
    PLUS
    Aritro Banerjee
    Courses Plus Student 2,567 Points

    Cannot find log statement.Also made a toast to display timezone.(Didnt work)

    Posted April 29, 2017 9:07pm by Aritro Banerjee
    Aritro Banerjee
    Courses Plus Student 2,567 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    0 Answers

  • pranav kakkad
    pranav kakkad
    755 Points

    cannot be converted to JSONObject

    Posted April 2, 2017 9:33am by pranav kakkad
    pranav kakkad
    755 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    0 Answers

  • pranav kakkad
    pranav kakkad
    755 Points

    Showing error

    Posted April 2, 2017 7:19am by pranav kakkad
    pranav kakkad
    755 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    0 Answers

  • Noel Chiwanga
    Noel Chiwanga
    7,306 Points

    Cannot resolve method getCurrentDetails

    Posted February 15, 2017 7:39am by Noel Chiwanga
    Noel Chiwanga
    7,306 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    0 Answers

  • yadin michaeli
    PLUS
    yadin michaeli
    Courses Plus Student 5,423 Points

    Didn't get this JSONObject

    Posted January 26, 2017 12:01am by yadin michaeli
    yadin michaeli
    Courses Plus Student 5,423 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Yiu Ming Lai
    Yiu Ming Lai
    5,861 Points

    get error from Callback() I am not sure why i am getting red line under the Callback, and 2 @Override

    Posted November 4, 2016 9:31am by Yiu Ming Lai
    Yiu Ming Lai
    5,861 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Jessica Wright
    Jessica Wright
    2,137 Points

    How do I iterate through a list of jsonObjects without any Arrays included. Just back to back objects? {::},{::},{::}

    Posted September 21, 2016 3:54pm by Jessica Wright
    Jessica Wright
    2,137 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Marco Koopman
    Marco Koopman
    5,290 Points

    Log.i(TAG, "From JSON:" + timezone) isnt returning any info..

    Posted June 8, 2016 1:43pm by Marco Koopman
    Marco Koopman
    5,290 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Mario Zamora
    Mario Zamora
    1,396 Points

    Why mi logcat tab doesn't display the data migrated from JSON ?

    Posted June 1, 2016 12:21am by Mario Zamora
    Mario Zamora
    1,396 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    0 Answers

  • Tohin Sarker
    PLUS
    Tohin Sarker
    Courses Plus Student 341 Points

    mCurrentWeather = getCurrentDetails()

    Posted March 12, 2016 2:58pm by Tohin Sarker
    Tohin Sarker
    Courses Plus Student 341 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Chenaj Teja Potu
    Chenaj Teja Potu
    2,972 Points

    Could not see the exception in log cat

    Posted February 25, 2016 10:33pm by Chenaj Teja Potu
    Chenaj Teja Potu
    2,972 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    0 Answers

  • jonathan lopez
    jonathan lopez
    2,455 Points

    I cannot see the timezone log statement in my log.

    Posted December 29, 2015 12:51am by jonathan lopez
    jonathan lopez
    2,455 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    3 Answers

  • Ego Team
    Ego Team
    17,902 Points

    My code won't parse the json timezone string. keeps catching a json exception

    Posted December 7, 2015 6:38am by Ego Team
    Ego Team
    17,902 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Kevin Ley
    Kevin Ley
    1,654 Points

    Why does my code not call the api server, and why do I have OpenGLRenderer errors in my logcat?

    Posted June 1, 2015 9:33pm by Kevin Ley
    Kevin Ley
    1,654 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Gerardo Guzman
    Gerardo Guzman
    4,480 Points

    Alt+Enter (quick-fix) features are gone in my Android Studio editor.

    Posted June 1, 2015 7:27pm by Gerardo Guzman
    Gerardo Guzman
    4,480 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • abdul rehman
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    abdul rehman
    Python Web Development Techdegree Student 1,025 Points

    doesn't find the JSON String in Log

    Posted April 30, 2015 12:43pm by abdul rehman
    .a{fill-rule:evenodd;}techdegree
    abdul rehman
    Python Web Development Techdegree Student 1,025 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Steven Strouble
    Steven Strouble
    4,128 Points

    Why "private CurrentWeather currentWeather;" and not "... currentWeather = new CurrentWeather();"?

    Posted April 6, 2015 9:34am by Steven Strouble
    Steven Strouble
    4,128 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    1 Answer

  • Tyler Chapman
    Tyler Chapman
    20,470 Points

    Trouble connecting weather app and retrieving JSON data?

    Posted March 21, 2015 12:15am by Tyler Chapman
    Tyler Chapman
    20,470 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    3 Answers

  • boog690
    boog690
    8,987 Points

    Code isn't DRY

    Posted January 26, 2015 7:36pm by boog690
    boog690
    8,987 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Introducing JSONObject

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord