0

I have an app and i want to get all the running activities list in the listview and select any activity from the list and that activity will go to pause to start state.

How is this possible. by using activities or if you have any other suggestion will also be consider.

i want to save instance and start activity from where it was left by selecting it from the listview.

Zoe
  • 27,060
  • 21
  • 118
  • 148
  • You cant have more than one activity running at once - check [this](https://stackoverflow.com/questions/11411395/how-to-get-current-foreground-activity-context-in-android), it may help you – Tamir Abutbul Mar 25 '19 at 10:41
  • so what i use to code like this, for making tabs like a browser. can i make tabs using fragments or something else.@TamirAbutbul –  Mar 25 '19 at 10:42
  • Yes sure, check [this](https://developer.android.com/reference/android/app/TabActivity) and [this](https://developer.android.com/training/implementing-navigation/lateral) and also [this](https://material.io/design/components/bottom-navigation.html) – Tamir Abutbul Mar 25 '19 at 10:44

1 Answers1

0

Save instance of the activity and then start that instance

Rover
  • 661
  • 2
  • 18
  • 39