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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points

    It says "cannot find symbol". task 2 of 4

    Posted January 5, 2018 3:09pm by Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • ofir moalmi
    ofir moalmi
    2,161 Points

    Code seems 100% fine yet still get an error

    Posted March 25, 2017 12:16am by ofir moalmi
    ofir moalmi
    2,161 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Malcolm Mutambanengwe
    Malcolm Mutambanengwe
    4,205 Points

    AlertDialogFragment

    Posted March 4, 2017 1:03pm by Malcolm Mutambanengwe
    Malcolm Mutambanengwe
    4,205 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    0 Answers

  • tommy Zumtobel
    tommy Zumtobel
    9,711 Points

    what did i do wrong on this

    Posted December 12, 2016 4:24am by tommy Zumtobel
    tommy Zumtobel
    9,711 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Will Hunting
    Will Hunting
    13,726 Points

    Next, set the title, message, and positive button of the builder. Use the following values: title = "Sorry!", message =

    Posted June 26, 2016 4:49pm by Will Hunting
    Will Hunting
    13,726 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    2 Answers

  • Gonzalo Nunez
    PLUS
    Gonzalo Nunez
    Courses Plus Student 5,064 Points

    Can´t pass step 3, still don´t know why dind´t pass! Same code as the video

    Posted May 2, 2016 7:46pm by Gonzalo Nunez
    Gonzalo Nunez
    Courses Plus Student 5,064 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    2 Answers

  • Ramesh Ram
    Ramesh Ram
    3,340 Points

    use AlertDialogFragment. switch to the activity file and create and show a new AlertDialogFragment in the onFailure()

    Posted April 11, 2016 7:32pm by Ramesh Ram
    Ramesh Ram
    3,340 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Ramesh Ram
    Ramesh Ram
    3,340 Points

    set the title, message, and positive button of the builder. Use the following values: title = "Sorry!", message = "try "

    Posted April 11, 2016 12:54pm by Ramesh Ram
    Ramesh Ram
    3,340 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Bryan Beemer
    PLUS
    Bryan Beemer
    Courses Plus Student 1,138 Points

    I'm not sure what I am doing wrong here.

    Posted March 26, 2016 12:47am by Bryan Beemer
    Bryan Beemer
    Courses Plus Student 1,138 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Charles Olaleye
    Charles Olaleye
    6,594 Points

    Challenge Task 1 of 4. I don't know what they are asking for. Somebody help?

    Posted March 3, 2016 5:23pm by Charles Olaleye
    Charles Olaleye
    6,594 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Drashti Bhatt
    Drashti Bhatt
    1,860 Points

    how to solve this?

    Posted March 2, 2016 3:08pm by Drashti Bhatt
    Drashti Bhatt
    1,860 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • channonhall
    channonhall
    12,247 Points

    create a new AlertDialog.Builder variable and initialize it with the constructor that takes the context as a parameter.

    Posted February 26, 2016 12:38pm by channonhall
    channonhall
    12,247 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Saeed Faruqui
    Saeed Faruqui
    3,158 Points

    Hi there, i just have a question

    Posted January 27, 2016 3:47pm by Saeed Faruqui
    Saeed Faruqui
    3,158 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • aybars tokta
    aybars tokta
    4,491 Points

    unreachable statement error

    Posted October 26, 2015 11:27am by aybars tokta
    aybars tokta
    4,491 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points

    PLEASE ADVISE THE FOLLOWING, EVEN FOR THE CHALLENGES TO FOLLOW

    Posted October 3, 2015 11:06am by MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    0 Answers

  • MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points

    PLEASE ADVISE ON STEP 4 HOW I CAN WIN THROUGH

    Posted October 3, 2015 9:05am by MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    0 Answers

  • MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points

    help

    Posted September 30, 2015 12:40pm by MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points

    HELP

    Posted September 30, 2015 12:31pm by MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points

    PLEASE HELP,

    Posted September 30, 2015 9:01am by MUZ141046 Munyaradzi Nhema
    MUZ141046 Munyaradzi Nhema
    1,773 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Andreas Robichaux
    Andreas Robichaux
    2,426 Points

    Our builder is ready...How do I create the Alert DIalog variable and return it?

    Posted May 27, 2015 2:32am by Andreas Robichaux
    Andreas Robichaux
    2,426 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • MUZ140564 Kudakwashe Jena
    MUZ140564 Kudakwashe Jena
    4,895 Points

    Let's build a new Alert Dialog fragment! In the onCreateDialog() method, create a new AlertDialog.Builder variable and

    Posted May 19, 2015 7:56pm by MUZ140564 Kudakwashe Jena
    MUZ140564 Kudakwashe Jena
    4,895 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Eleni Minadaki
    Eleni Minadaki
    3,687 Points

    Next set the title message and positive button of the builder

    Posted May 16, 2015 5:09am by Eleni Minadaki
    Eleni Minadaki
    3,687 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    2 Answers

  • Sambhav Anand
    Sambhav Anand
    2,010 Points

    I am totally stuck and don't know what to do

    Posted April 22, 2015 2:27pm by Sambhav Anand
    Sambhav Anand
    2,010 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    1 Answer

  • Michel Onwordi
    Michel Onwordi
    1,803 Points

    When will the communication error be fixed?

    Posted April 15, 2015 9:33pm by Michel Onwordi
    Michel Onwordi
    1,803 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    0 Answers

  • Ben Mair
    Ben Mair
    8,728 Points

    Alert Message

    Posted March 28, 2015 7:26pm by Ben Mair
    Ben Mair
    8,728 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    2 Answers

  • Carney Bernard
    Carney Bernard
    3,615 Points

    Code looks 100% correct yet I am still getting errors... Could someone else please take a look?

    Posted January 16, 2015 5:40am by Carney Bernard
    Carney Bernard
    3,615 Points
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog

    2 Answers

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

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.