✨ Earn college credits in Cybersecurity, JS, HTML, CSS and 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

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

  • 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
    • Showing results for:
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation
    • Close
  • Claire Refalo
    Claire Refalo
    1,917 Points

    What am I doing wrong?

    Posted on Jul 22, 2020 by Claire Refalo
    Claire Refalo
    1,917 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    2 Answers

  • Ajay Shaa
    PLUS
    Ajay Shaa
    Courses Plus Student 1,025 Points

    Help me how to it

    Posted on Jun 28, 2020 by Ajay Shaa
    Ajay Shaa
    Courses Plus Student 1,025 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    0 Answers

  • Peng Ouyang
    Peng Ouyang
    5,805 Points

    I wrote my method like this, why does it say"Looks like you didn't use the method Toast.makeText() "??

    Posted on Nov 29, 2017 by Peng Ouyang
    Peng Ouyang
    5,805 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    1 Answer

  • Petrea Costin
    Petrea Costin
    3,430 Points

    All seems good. Got compiler error.

    Posted on Oct 4, 2017 by Petrea Costin
    Petrea Costin
    3,430 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    2 Answers

  • Lewis Harwood
    Lewis Harwood
    2,719 Points

    On this last challenge, all you need to do is override the onBackPressed() method and display a message that Back was pr

    Posted on Sep 9, 2017 by Lewis Harwood
    Lewis Harwood
    2,719 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    1 Answer

  • Binyamin Friedman
    Binyamin Friedman
    14,615 Points

    Why doesn't this work?

    Posted on Aug 28, 2017 by Binyamin Friedman
    Binyamin Friedman
    14,615 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    1 Answer

  • Zach Rebstock
    Zach Rebstock
    4,632 Points

    onBackPressed()

    Posted on Aug 4, 2017 by Zach Rebstock
    Zach Rebstock
    4,632 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    0 Answers

  • Timothy coxon
    Timothy coxon
    18,633 Points

    Display what kind of message?

    Posted on Jul 10, 2017 by Timothy coxon
    Timothy coxon
    18,633 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    1 Answer

  • Mac Tilma
    Mac Tilma
    3,286 Points

    Is the getApplicationContext(); not working?

    Posted on May 26, 2017 by Mac Tilma
    Mac Tilma
    3,286 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    0 Answers

  • Vijayakumar r
    Vijayakumar r
    2,326 Points

    override the onBackPressed() method and display a message that Back was pressed.

    Posted on May 21, 2017 by Vijayakumar r
    Vijayakumar r
    2,326 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    1 Answer

  • Tatenda Goteka
    Tatenda Goteka
    2,046 Points

    building interactive story

    Posted on May 2, 2017 by Tatenda Goteka
    Tatenda Goteka
    2,046 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    1 Answer

  • sean tatenda jack
    sean tatenda jack
    6,127 Points

    Last but not least, create and show a simple Toast message that says "You pressed the back button!". Set the time for

    Posted on Apr 15, 2017 by sean tatenda jack
    sean tatenda jack
    6,127 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    5 Answers

  • sean tatenda jack
    sean tatenda jack
    6,127 Points

    Challenge Task 2 of 2 Last but not least, create and show a simple Toast message that says "You pressed the back but

    Posted on Apr 14, 2017 by sean tatenda jack
    sean tatenda jack
    6,127 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    1 Answer

  • sean tatenda jack
    sean tatenda jack
    6,127 Points

    On this last challenge, all you need to do is override the onBackPressed() method and display a message that Back w

    Posted on Apr 12, 2017 by sean tatenda jack
    sean tatenda jack
    6,127 Points
    • Android
    • Build an Interactive Story App
    • The Rest of the Story
    • Navigation

    3 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.