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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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
      • • Vibe Coding
    • Showing results for:
    • Android
    • Build a Weather App (2015)
    • Concurrency and Error Handling
    • Building an Alert Dialog
    • Close
  • Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points

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

    Posted on Jan 5, 2018 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 on Mar 25, 2017 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 on Mar 4, 2017 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 on Dec 12, 2016 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 on Jun 26, 2016 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 on May 2, 2016 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 on Apr 11, 2016 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 on Apr 11, 2016 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 on Mar 26, 2016 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 on Mar 3, 2016 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 on Mar 2, 2016 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 on Feb 26, 2016 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 on Jan 27, 2016 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 on Oct 26, 2015 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 on Oct 3, 2015 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 on Oct 3, 2015 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 on Sep 30, 2015 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 on Sep 30, 2015 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 on Sep 30, 2015 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 on May 27, 2015 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 on May 19, 2015 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 on May 16, 2015 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 on Apr 22, 2015 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 on Apr 15, 2015 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 on Mar 28, 2015 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 on Jan 16, 2015 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.