android-recents Questions

2

Solved

Issue description In one of my apps I am seeing quite odd behaviour: when my app is running in foreground (is top-most one), then I can see its activities in system's Recents. But as soon as I put...
Octavie asked 26/6, 2014 at 17:37

3

Solved

I'm working on a music app, and I want stop the service when user removes the application from the recent list and not when the first activity is destroyed(because when user clicks back back until ...
Rhodian asked 16/12, 2014 at 6:9

2

Solved

I have a working app but I want to add an alternate version of the app's icon that would be associated with the recent apps window. Instead of the icon that appears on the homescreen, the recent ap...
Facient asked 7/1, 2015 at 22:17

4

Solved

Background I'm trying to get app-launched statistics, and on Lollipop it's possible by using the UsageStatsManager class, as such (original post here): manifest: <uses-permission android:nam...

0

Use case is I have to send logout request to server when app get killed from recent lists. I use onTaskRemoved to handle that however in Android O and P I get notification bar saying "app is runnin...

7

Solved

Background Google has deprecated the function "getRecentTasks" of "ActivityManager" class. Now all it does is to get the list of apps that the current app has opened. I've even written a post abo...

4

Solved

I mainly want to blank the screen in the recent apps list due to sensitive data being shown. For this, the solution is to use: getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE); but t...
Trump asked 15/4, 2015 at 6:4

1

I know it should be achievable be either android:excludeFromRecents="true" in android manifest or Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS Intent flag. Problem is, that doesn't work if applicatio...
Chaffin asked 10/5, 2013 at 12:36

2

I have one app with two activities A & B, both with launch mode singleInstance. I notice that even if both A and B are running in the background, only the last activity is shown in recent-apps ...
Rident asked 19/1, 2016 at 1:21

2

Solved

I'm creating a home launcher and I want to have a compatibility with the Android 5.0, Lollipop. I want to get a list of recent apps on the launcher. But since ActivityManager.getRecentTasks() no l...
Convoke asked 4/12, 2014 at 0:26

1

Tester of my app has reported: "The thumbnail of the app in the Recent apps list is not tuned at all. At me it appears either like a homescreen wallpapers (tolikdru: probably, just transparent rect...
Doable asked 2/4, 2014 at 16:14

2

I have found that Android recent app dialog can be disabled by disabling package com.android.systemui. I want to run my (rooted) device in kiosk mode so it is essential that the recent apps dialog ...
Nasa asked 24/3, 2015 at 9:53

4

Solved

Since Android Lollipop, we have now an API for accessing apps usage stats. However, your app must be granted those permissions by the user. I know that for redirecting the user to those settings u...

2

Solved

I am working on an application that needs to suppress the recent apps button as it is done in the Toddler Lock application. What I want is user should not be able to exit my application by pressing...
Gagliano asked 28/5, 2015 at 4:54

2

Solved

Possible duplicate: How to not show app on recent apps list in ICS? excludeFromRecents doesn't work Let's say I have two activities A (the main activity) and B. I start B from A as follows: Inte...
Solanaceous asked 6/3, 2014 at 15:13

0

Where does the OS saves the screenshots it takes of the recent apps? I have searched for the finding the directory location but couldn't find any info. I have also looked through Android source cod...
Lenalenard asked 24/12, 2013 at 15:13

1

Solved

I have an app with an exported activity that can be invoked from other apps (Specifically the sharing action - android.intent.action.SEND) How can an exported activity be excluded from recents? I...
Glasper asked 4/3, 2013 at 13:4
1

© 2022 - 2024 — McMap. All rights reserved.