Skip to main content

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

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

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
  • Alok Singh
    PLUS
    Alok Singh
    Courses Plus Student 3,397 Points

    why is there indexOutOfBound exception ?

    Posted October 25, 2017 1:26pm by Alok Singh
    Alok Singh
    Courses Plus Student 3,397 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • Soumitra Mehrotra
    Soumitra Mehrotra
    337 Points

    Why didn't we directly used hours[i].setSummary(jsonHour.getString("summary")); ???

    Posted August 24, 2017 8:13am by Soumitra Mehrotra
    Soumitra Mehrotra
    337 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • mohamadreza azadi
    mohamadreza azadi
    5,167 Points

    Debugg problem

    Posted June 29, 2017 6:30am by mohamadreza azadi
    mohamadreza azadi
    5,167 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • Suleyman Orazgulyyev
    PLUS
    Suleyman Orazgulyyev
    Courses Plus Student 5,798 Points

    Forecast.io (or DarkSky) Get temperature on exact time

    Posted May 22, 2017 9:36pm by Suleyman Orazgulyyev
    Suleyman Orazgulyyev
    Courses Plus Student 5,798 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    0 Answers

  • Ranvijay Singh
    PLUS
    Ranvijay Singh
    Courses Plus Student 137 Points

    JSON Error in String timezone in both the Hour and Daily method

    Posted March 9, 2017 7:12pm by Ranvijay Singh
    Ranvijay Singh
    Courses Plus Student 137 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • laze dimitrovski
    laze dimitrovski
    1,535 Points

    getDailyForecast() and getHourlyForecast() don't return anything.

    Posted August 25, 2016 8:40pm by laze dimitrovski
    laze dimitrovski
    1,535 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • Mario Zamora
    Mario Zamora
    1,396 Points

    How to find the API KEY in YOUTUBE API ?

    Posted July 15, 2016 12:32pm by Mario Zamora
    Mario Zamora
    1,396 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    2 Answers

  • dlpuxdzztg
    dlpuxdzztg
    8,243 Points

    What do these lines of code do?

    Posted July 9, 2016 12:18am by dlpuxdzztg
    dlpuxdzztg
    8,243 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • chandrashekhar singh
    chandrashekhar singh
    507 Points

    "Frame is not available" it is showing when i debugging.I need help

    Posted July 5, 2016 2:59pm by chandrashekhar singh
    chandrashekhar singh
    507 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • FAIZEL KHAN
    FAIZEL KHAN
    2,328 Points

    Debugg probem

    Posted June 14, 2016 2:46pm by FAIZEL KHAN
    FAIZEL KHAN
    2,328 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    0 Answers

  • Will Macleod
    PLUS
    Will Macleod
    Courses Plus Student 18,780 Points

    Cannot resolve symbol 'i' in Day array

    Posted November 5, 2015 1:14pm by Will Macleod
    Will Macleod
    Courses Plus Student 18,780 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • João Elvas
    João Elvas
    5,400 Points

    Why don't use a class constructor to build objects?

    Posted October 20, 2015 2:06pm by João Elvas
    João Elvas
    5,400 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    0 Answers

  • Maximilian Bertram
    Maximilian Bertram
    9,486 Points

    Why is my different approach on getHourlyForecast not working?

    Posted September 29, 2015 10:53am by Maximilian Bertram
    Maximilian Bertram
    9,486 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    2 Answers

  • Niravkumar Patel
    Niravkumar Patel
    2,277 Points

    Not able to figure out the title text for last task last challenge

    Posted August 16, 2015 8:31pm by Niravkumar Patel
    Niravkumar Patel
    2,277 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • jenyufu
    jenyufu
    3,311 Points

    A quick question about source code ordering

    Posted July 12, 2015 7:53am by jenyufu
    jenyufu
    3,311 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • Ricardo Sierra
    Ricardo Sierra
    14,920 Points

    When creating the getDailyForecast method it shows an error

    Posted May 9, 2015 6:38pm by Ricardo Sierra
    Ricardo Sierra
    14,920 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • taubin
    taubin
    8,705 Points

    Cannot resolve symbol data when creating the Hour array

    Posted May 8, 2015 9:20pm by taubin
    taubin
    8,705 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    1 Answer

  • Jason Laux
    Jason Laux
    3,128 Points

    Getting an *error* debugging Day[] getDailyForecast method definition

    Posted March 16, 2015 1:32am by Jason Laux
    Jason Laux
    3,128 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    2 Answers

  • David Eichel
    David Eichel
    28,860 Points

    ArrayIndexOutOfBoundsException??? I saw the exception twice in the video with no mention of it.

    Posted March 8, 2015 11:35pm by David Eichel
    David Eichel
    28,860 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    3 Answers

  • Sandro Meschiari
    Sandro Meschiari
    18,418 Points

    variable daily and hourly never use

    Posted March 6, 2015 12:34pm by Sandro Meschiari
    Sandro Meschiari
    18,418 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    2 Answers

  • blue3555
    blue3555
    7,436 Points

    Could you please help me I do not know why is not working

    Posted March 4, 2015 12:23am by blue3555
    blue3555
    7,436 Points
    • Android
    • Android Lists and Adapters (2015)
    • Updating the Data Model
    • From JSONArray to a Java Array

    4 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