You can achieve this by setting the android:noHistory
attribute to "true"
in the relevant <activity>
entries in your AndroidManifest.xml
file. For example:
<activity
android:name=".AnyActivity"
android:noHistory="true" />
More Related Contents:
- Simulate killing of activity in emulator
- Button a button unclickabale in Android
- application crashed due to regex function . which stops intent to switch from one to another activity [duplicate]
- How to start new activity on button click
- How to get current foreground activity context in android?
- Android- Going back to Previous Activity with different Intent value
- Android app out of memory issues – tried everything and still at a loss
- Finish an activity from another activity
- How do I get the height and width of the Android Navigation Bar programmatically?
- Finish all activities at a time
- How to switch activity without animation in Android?
- onActivityResult() called prematurely
- Accessing SharedPreferences through static methods
- Android: Activity getting Destroyed after calling Camera Intent
- TextWatcher for more than one EditText
- Returning from an activity using navigateUpFromSameTask()
- One Activity and all other Fragments [closed]
- Android webview loading data performance very slow
- How to kill sub activities and bring activity to top of stack
- View the Task’s activity stack
- Android PagerView between Activities
- android: using ActivityGroup to embed activities
- Shared preferences for creating one time activity
- How to send objects through bundle
- Finish an activity after a time period
- What is the difference between onPause() and onStop() of Android Activites?
- Kotlin Android start new Activity
- ViewTreeLifecycleOwner not found from DecorView@2da7146[MyActivity]
- Getting the Application Context
- Android Fragment onCreateView vs. onActivityCreated