View RSS Feed

Recent Blogs Posts

  1. Android Activity Lifecycle

    by , 02-11-2012 at 10:00 AM
    All fundamental lifecycle methods of an activity are given in below code skeleton.

    Java Code: This is the code to manage lifecycle of an activity
    public class ExampleActivity extends Activity {
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            // The activity is being created.
        }
        @Override
        protected void onStart() {
            super.onStart();
            // The activity is about to become visible.
    ...