Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

Android Development

Activity Lifecycle
Contents

Activity Lifecycle
Lifecycle Methods
Logcat
Rotation and Activity Lifecycle

Rahul Talreja, Neusoft 2


Lifecycle

Rahul Talreja, Neusoft 3


Lifecycle

Rahul Talreja, Neusoft 4


Lifecycle Methods

Rahul Talreja, Neusoft 5


Lifecycle Methods

Rahul Talreja, Neusoft 6


Lifecycle Methods

Rahul Talreja, Neusoft 7


Logcat

To access the log while the application is running, you can use
Logcat, a log viewer included in the Android SDK tools.
When you run the android app, you should see Logcat appear at
the bottom of Android Studio, as shown in
If Logcat is not visible, select the Android Monitor tool window
near the bottom of the screen and ensure that the logcat tab is
selected.

Rahul Talreja, Neusoft 8


Logcat

Rahul Talreja, Neusoft 9


Rahul Talreja, Neusoft 10

You might also like