Different States of an Android Activity

+136 Bucky Roberts · December 19, 2014

   protected void onStart() {
       Log.i(TAG, "onStart");

   protected void onResume() {
       Log.i(TAG, "onResume");

   protected void onPause() {
       Log.i(TAG, "onPause");

   protected void onStop() {
       Log.i(TAG, "onStop");

   protected void onRestart() {
       Log.i(TAG, "onRestart");

   protected void onDestroy() {
       Log.i(TAG, "onDestroy");

   protected void onSaveInstanceState(Bundle outState) {
       Log.i(TAG, "onSaveInstanceState");

   protected void onRestoreInstanceState(Bundle savedInstanceState) {
       Log.i(TAG, "onRestoreInstanceState");

Post a Reply


- page 3
Oldest  Newest  Rating
0 Onye Ashikodi · November 10, 2015
Hello Bucky, Thanks for this tutorial and all. Before watching this, Android studio always appear overwhelming. You must have put a lot of effort making this video. But for crying out loud- Why! Why!! Why do you belch to the mic, it's pretty disrespectful.  
0 Waqar Ahmad · August 23, 2015
Bucky bro checkout Tag error. Reply soon
0 Waqar Ahmad · August 23, 2015
Check this "Tag" error plz
0 Lester Rodriguez · August 29, 2015
You're awesome!
Pretty sweet.
Just having fun with your tutorials
and learning as well.
0 Akshay Pimpalkar · February 3, 2016
i found these question marks on ur code. What does it mean?/images/forum/upload/2016-02-03/0ece4ed455921192ec6688b6269e2896.png 
0 Sharad Gupta · February 22, 2015
Thanks for the Source Code. Just began watching tutorials. They are awesome :) !!
0 android learner · June 29, 2015
I'm getting error: class, interface or enum expected. What to do?
0 jinu mm · July 7, 2015
Thanks for the Source Code. Just began watching tutorials for   http://www.essayscampus.com  essay writing  
0 Osama Bin Zafar · December 22, 2016
hi there!!
              Can any one tell me where can i find all the source codes, 
i am following android tutorials by bucky , the 87 Video tutorial series ..
thanks in advance 
0 Lasith Niroshan · April 9, 2015
Thanks for codings...:)

Java / Android Development


Very popular language used to create desktop applications, website applets, and Android apps.

Bucky Roberts Administrator