Questions tagged [android-recents]

Recents provides an efficient way of switching between recently used applications. It provides a clear navigation path between multiple ongoing tasks.

Information is taken from UI Overview

Recents screen

Recents provides an efficient way of switching between recently used applications. It provides a clear navigation path between multiple ongoing tasks.

The Recents button at the right side of the navigation bar displays the apps that the user has interacted with most recently. They are organized in reverse chronological order with the most recently used app at the bottom.

Switch to an app by touching it. Remove an item by swiping left or right.

120 questions
1
vote
1 answer

Is it possible to check how long app is in background?

I want to quit my application if it stays in background for 5 minutes. Is it possible to do that programmatically?
Jas
  • 3,207
  • 2
  • 15
  • 45
1
vote
1 answer

Properly stop a service when the binding activity is killed by recent apps

I have a bound service playing sounds with Soundpool. It works normally if the app exits normally (using back button). However, when the app is killed by the recent app, in the next run, the service (sound) behaves abnormally, especially, when the…
1
vote
0 answers

How to remove child Thumbnails from DeckView?

I want to reuse Android Lollipop recent style library from vikramkakkar I want to show only header bars stack with no thumbnails (app screenshots) attached to each one of it. How can I remove child thumbnails? Is there direct API to achieve this…
CodeGuru
  • 81
  • 1
  • 2
1
vote
1 answer

android application does not show in the recent application tab

When i use the Label attribute in the manifest for an activity, it does not show in the recent application list. Code for activity in manifest file is:
Sandhu
  • 141
  • 2
  • 10
1
vote
0 answers

Change recent layout android

i would try to change the system recent app layout in a custom rom. Actually, in android stock, we have a simple vertical scrollable column with recent apps.. I would change it and make a gridview like LG -->…
Atlas91
  • 5,754
  • 17
  • 69
  • 141
1
vote
0 answers

Cycle through the recently opened application in android

Please help me to cycle through the recently opened application in android. for example, if I have 1, 2, 3, 4, 5 and now I'm in the application 3 and I want to go to 2 and 1 application, in the same way, I want to go to 4 and 5 application. I have…
Rayyan
  • 23
  • 2
1
vote
1 answer

Android resume app from recent applications list

I am trying to fix a bug in my code, and am hoping someone can point me in the right direction. If my app goes into the background, and gets resumed by the user just going into "apps" and selecting my app, everything works fine. However, if they…
akhalsa
  • 2,303
  • 3
  • 25
  • 43
1
vote
0 answers

Prevent launched notification intent from taking over the recents window

I have a notification that notifies that a long operation has succeeded and offers the user to do something after that. Leaving the notification aside and opening the app, makes the app apear in the recents - even when the back is pressed and the…
AlikElzin-kilaka
  • 34,335
  • 35
  • 194
  • 277
0
votes
0 answers

Android: App needs to blur out when in the recent Recent/App Overview

Usecase: User should be able to take the screen shots in the application, application should blur out when it goes to Recent App. Can't use android:excludeFromRecents in the AndroidManifest.xml as it will remove it from the recent app leaving the…
Raa
  • 321
  • 2
  • 5
  • 16
0
votes
0 answers

How to override android Activity class methods such as onCreate/onProvideAssistContent in flutter plugin?

In my Flutter application, I want to implement Recents URL sharing via plugin. This feature can be implemented by overriding the onProvideAssistContent method in the Activity class. From what I know, we can obtain the main activity instance by…
Sang
  • 4,049
  • 3
  • 37
  • 47
0
votes
1 answer

Cannot kill recent task manager when Make home launcher application

I try to make home launcher application with this in manifest.xml
0
votes
0 answers

How to customize recents screen for my android app?

FYI, I'm new to android app development. This is my first app attempt. I've setup my android app to run in landscape mode. When I minimize the app, the image on the screen turns to portrait mode, and as a result, the image gets clipped at the…
Marek Krzeminski
  • 1,308
  • 3
  • 15
  • 40
0
votes
1 answer

How to remove icon border in Android 12

Assuming this is my app icon It works fine in Android 11 (and below) but when I install the app in Android 12, there is a white border around the icon in the splash screen (also a black border around the top app icon.) Is there any way I can…
raxabizze
  • 445
  • 1
  • 4
  • 11
0
votes
1 answer

Need to clear recent paths on Android Studio

As shown in the image, there are some paths in Android Studio export list that are no longer exists in my computer. This list appears when I click on the icon marked with a white circle in the image. So I need to remove these paths from the…
Ahmed Loutfy
  • 157
  • 1
  • 8
0
votes
1 answer

android Picture in Picture mode

I have an app with 2 activities, the first one is a list of movies and the second one is detail activity and has a player that can play in PictureInPicture Mode. the problem is if the user kills the app from recent items PictureinPicture window will…