Posts

Showing posts with the label Activity LifeCycle

Activity LifeCycle In Android

1.Activity Life Cycle: 1. 1 Activity 1 .2 Life Cycle Activity Stacks Activity States Monitoring State Changes Activity Lifetimes   1.1 Activity An activity is a user interface concept. An activity usually represents a single screen in our application. To create user interface screens we extend the Activity class, using Views to provide the UI and allow user interaction. package com.murali.Activitylifecycle; import android.app.Activity; import android.os.Bundle; public class Activitylifecycle extends Activity {                // Called at the start of the full lifetime.          @Override          public void onCreate(Bundle savedInstanceState)         {            super .onCreate(savedInstanceState);          ...