✨ 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
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State
    • Close
  • Hamish kundai Chipunza
    Hamish kundai Chipunza
    4,218 Points

    Let's practice saving and retrieving instance state. Start by initializing a key named KEY_USERENTRY

    Posted on Sep 30, 2019 by Hamish kundai Chipunza
    Hamish kundai Chipunza
    4,218 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Prosper moyo
    Prosper moyo
    1,876 Points

    am sure i have done everything right can anyone please help identify my error coz i cant pass this challenge

    Posted on Aug 24, 2019 by Prosper moyo
    Prosper moyo
    1,876 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Tafadzwa Nyazorwe
    Tafadzwa Nyazorwe
    17,053 Points

    Let's practice saving and retrieving instance state. Start by initializing a key named KEY_USERENTRY.

    Posted on Mar 5, 2019 by Tafadzwa Nyazorwe
    Tafadzwa Nyazorwe
    17,053 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    2 Answers

  • tinashe ibu
    tinashe ibu
    5,881 Points

    android question on initializing a key name

    Posted on Feb 27, 2019 by tinashe ibu
    tinashe ibu
    5,881 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • michael lee
    michael lee
    5,179 Points

    challenge 3 0f 3

    Posted on Jan 22, 2019 by michael lee
    michael lee
    5,179 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Ali Imran
    Ali Imran
    4,311 Points

    I'm stuck

    Posted on Dec 16, 2018 by Ali Imran
    Ali Imran
    4,311 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • samuel owino
    samuel owino
    440 Points

    method bundle.putString not found an error

    Posted on Nov 15, 2018 by samuel owino
    samuel owino
    440 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • mustafa ibrahim
    mustafa ibrahim
    3,787 Points

    I can not understand this task......what should I do??

    Posted on Sep 9, 2018 by mustafa ibrahim
    mustafa ibrahim
    3,787 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    0 Answers

  • Samme Qandil
    Samme Qandil
    1,228 Points

    I am just confused about this challenge, storing the number 10 to the bundle

    Posted on Jul 22, 2018 by Samme Qandil
    Samme Qandil
    1,228 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    0 Answers

  • Voltaire Lopez
    Voltaire Lopez
    5,249 Points

    Restore instance State Android

    Posted on Jul 22, 2018 by Voltaire Lopez
    Voltaire Lopez
    5,249 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    0 Answers

  • Joe Jane
    Joe Jane
    175 Points

    don't get it

    Posted on May 26, 2018 by Joe Jane
    Joe Jane
    175 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Alicia Beltran
    Alicia Beltran
    1,203 Points

    ./MainActivity.java:22: error: cannot find symbol

    Posted on Apr 22, 2018 by Alicia Beltran
    Alicia Beltran
    1,203 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Emily Conroyd
    Emily Conroyd
    6,512 Points

    Alternative Solution storing variable as string instead of int

    Posted on Mar 17, 2017 by Emily Conroyd
    Emily Conroyd
    6,512 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Malcolm Mutambanengwe
    Malcolm Mutambanengwe
    4,205 Points

    Android activity lifecycle TextView. I cannot see which text or string needs to be restored.

    Posted on Mar 17, 2017 by Malcolm Mutambanengwe
    Malcolm Mutambanengwe
    4,205 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Joyce Chidiadi
    Joyce Chidiadi
    1,867 Points

    Problem with the OnRestoreState Method

    Posted on Feb 16, 2017 by Joyce Chidiadi
    Joyce Chidiadi
    1,867 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    2 Answers

  • Daniel Maia
    Daniel Maia
    6,228 Points

    onRestoreInstanceState retrieving a int and setting the TextView

    Posted on Mar 21, 2016 by Daniel Maia
    Daniel Maia
    6,228 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    2 Answers

  • Quiet Light Communications
    Quiet Light Communications
    6,410 Points

    outState.putString

    Posted on Feb 24, 2016 by Quiet Light Communications
    Quiet Light Communications
    6,410 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Aditya Naiyyar
    Aditya Naiyyar
    363 Points

    how to save number 10 in saved instance state

    Posted on Jan 24, 2016 by Aditya Naiyyar
    Aditya Naiyyar
    363 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    2 Answers

  • Andrés Vila
    PLUS
    Andrés Vila
    Courses Plus Student 2,219 Points

    When I put this line at the second question is shows an error. outState.putString(KEY_USERENTRY, "10");

    Posted on Jan 22, 2016 by Andrés Vila
    Andrés Vila
    Courses Plus Student 2,219 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Ravi M
    PLUS
    Ravi M
    Courses Plus Student 777 Points

    Retrieve and Restore the value in TextView

    Posted on Jan 7, 2016 by Ravi M
    Ravi M
    Courses Plus Student 777 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Bryan Wiedeman
    Bryan Wiedeman
    10,203 Points

    can't retrieve the data I saved in a my bundle

    Posted on Dec 1, 2015 by Bryan Wiedeman
    Bryan Wiedeman
    10,203 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Prashant chaudhari
    PLUS
    Prashant chaudhari
    Courses Plus Student 24,499 Points

    Let's practice saving and retrieving instance state. Start by initializing a key named KEY_USERENTRY.

    Posted on Nov 27, 2015 by Prashant chaudhari
    Prashant chaudhari
    Courses Plus Student 24,499 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    2 Answers

  • Nanda G K Kalavai
    Nanda G K Kalavai
    1,093 Points

    The saved value in the bundle is integer. How to display it in text view. Integer.toString?

    Posted on Nov 21, 2015 by Nanda G K Kalavai
    Nanda G K Kalavai
    1,093 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    0 Answers

  • House Trigo
    House Trigo
    36,620 Points

    Saving and Retrieving Instance State (3/3)

    Posted on Nov 11, 2015 by House Trigo
    House Trigo
    36,620 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    3 Answers

  • Yuri Arons
    Yuri Arons
    7,281 Points

    HELP !~ can't get the last parameter

    Posted on Nov 6, 2015 by Yuri Arons
    Yuri Arons
    7,281 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • Sanchit Tripathi
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Sanchit Tripathi
    Python Web Development Techdegree Student 2,665 Points

    In the onInstanceState method, save number 10 to bundle

    Posted on Nov 5, 2015 by Sanchit Tripathi
    .a{fill-rule:evenodd;}techdegree
    Sanchit Tripathi
    Python Web Development Techdegree Student 2,665 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

  • John Weland
    John Weland
    42,478 Points

    Android Activity Lifecycle: code challenge 3 of 3

    Posted on Nov 4, 2015 by John Weland
    John Weland
    42,478 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    2 Answers

  • John Weland
    John Weland
    42,478 Points

    Android Activity Lifecycle: code challenge 2 of 3

    Posted on Nov 4, 2015 by John Weland
    John Weland
    42,478 Points
    • Android
    • Android Activity Lifecycle
    • The Activity Lifecycle
    • Saving and Retrieving Instance State

    1 Answer

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.