- Android Activity Best Practice
This article introduce three best practices when develope andorid activity.
- Android Activity Example – Switch Between Screens
Show you how to switch from one activity to another.
- Android Activity Lifecycle Example
This article introduce android activity life cycle and contains examples to show different life cycle methods of activity.
- Android Change Orientation Without Restarting Activity Example
Example about how to change screen orientation and how to avoid activity restart during the orientation change.
- Android Explicit Implicit Intent Example
This example introduce explicit and implicit intent for android. It also demontrate how to create and use explicit and implicit intent to start Activity.
- Android Get Application Context From Anywhere Example
Show you how to create a sub class of android.app.Application to make Context object be retrieved from anywhere in android app.
- Activity Launch Mode – Standard SingleTop Example
This article contains examples to introduce use activity in standard and singleTop launch mode.
- Activity Launch Mode – SingleTask SingleInstance Example
This article introduce other two singleTask and singleInstance activity launch mode with examples.
- Android Pass Custom Object In Intent Example
This example tell you how to pass custom object via android intent between activity.
- Android Save Retrieve Activity Instance State Example
This article will show you how to store and retrieve activity instance state data with examples.
- Difference Between Basic Activity And Empty Activity In Android Studio
Introduce how to create basic and empty activity in android studio and their difference.