Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9216433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:24:59+00:00 2026-06-18T02:24:59+00:00

In most Android apps, onCreate() is overridden with the first bit of code being

  • 0

In most Android apps, onCreate() is overridden with the first bit of code being super.onCreate(savedInstanceState) and I know this gathers the savedInstanceState Bundle and is neccessary for compilation but what about all of the constructors?

onResume(), onStop(), onStop() etc. Which overridden methods have important super constructors you need to include?

Is there a list somewhere?

I see the super constructors included in some code, not in others.. I have included them sometimes myself, others not and have never really noticed a difference..

Any light that could be shed would be well received!

Cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T02:25:00+00:00Added an answer on June 18, 2026 at 2:25 am

    onCreate(), onStart() and onResume() are used to startup the activity while on onStop() and onDestroy() are used to stop or clean up the activity.

    As per the documentation you need to call the super for each of the method.

    Derived classes must call through to the super class’s implementation
    of this method. If they do not, an exception will be thrown.

    For more info

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently writing my first Android app and have based most of my
I am trying to make an android application, which uses some jni code. This
I've been developing my first android apps on Eclipse installed on OSX Lion. I
I've noticed that in most stock Android apps when you click on a View
A design pattern I've noticed being used recently in some Android apps is a
I notice that most android apps have some sort of standard in that they
A lot of Android apps now display a modal with the most recent changelog
In most of the apps Ive developed I just let android handled my configuration
First up, I am new to android apps and am not working solo on
I understand most Android devices have a 16mb limit (24mb on Nexus One) on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.