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
0
votes
0 answers

Detect if Recent Apps (aka the Overview Screen) is currently being shown

I would like my service to be able to detect when the recent apps screen is being shown. Is there some way for me to notify my service when this happens?
0
votes
1 answer

In Android hide some of the texts or views from recent app view

In android For security reasons I want to hide some of the texts or views , when app is moved to recent apps in task manager. I tried to handle this by below ways but before going to the lifecyle it takes the screen shot for recent app view. 1.…
0
votes
3 answers

How to Launch specific activity when my Application is in Recent Apps List?

in my android application 3 activities are there.those are A,B&C. Initial landing screen is A.then navigate to B. But I want to display Activity C when this app is in recent appslist kind of App Masking. Any one have idea please share me. Thanks in…
Pinki
  • 21,723
  • 16
  • 55
  • 88
0
votes
1 answer

Activities opened with startActivityForResult not appearing in Recent Screen

I'm following this guide to show my activity in Recent Screen like a separate task. I've added this flag to open my activity in a new task: newDocumentIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT); When I start an activity using…
Vijay
  • 545
  • 1
  • 5
  • 15
0
votes
2 answers

Android Service stops just after closing the app

Created a IntentService and put for loop in onHandleIntent method. Every time I close app(remove from recent not force close) it got stopped. But onDestroy did not called. I also tried on different devices as well. I dont think it is a problem of…
0
votes
0 answers

clear recent app list programatically

I am trying to develop "Recent Apps Kill" App. I am able to show the recent running apps. But I am not able to kill all running apps(which shown in recent task list). I have tried/read: 1. android:excludeFromRecents="true" 2. android:noHistory=…
Ritesh Bhavsar
  • 1,343
  • 1
  • 9
  • 19
0
votes
0 answers

After dismissing the app ,some times later it still shows My app in recent app list

My app do not have any background services . But when i dismiss it from my recent app list and after some time if I check recent app list it still present in it without opening it again. So , how can I prevent this?
0
votes
1 answer

android background service stopping when running more other apps

I am currently trying to make an android app that never ends(restarting when freeze/stopped/swiped/killed etc..) for a certain use. So I am using background service with onTaskRemoved() to restart service when swiped out of recent app list. Also…
0
votes
1 answer

How to avoid killing and restarting the service and process when app is swiped to right in Overview(a.k.a recent apps screen) screen?

I am seeing my app in the following screen https://i.stack.imgur.com/BbqqZ.jpg If I swipe my app to the right, I notice that the process and services related to app are killed. How to avoid killing the process and services when we swipe? How to…
sofs1
  • 3,834
  • 11
  • 51
  • 89
0
votes
1 answer

My activity relaunches from the recents when I had explicitly finished it .android

Scenario - I dont have my application running in the background. I have a receiver implemented for ACTION_USER_PRESENT. In this receiver i start a activity whose manifest settings are :
beginner
  • 383
  • 3
  • 5
  • 19
0
votes
2 answers

Software deleting the Android application from the list of recent applications

What happens at the system level when we press hardware button "Recent apps", and at the "recent apps" window delete the app? At the user level, the application is removed from the list, if the application has been launched the service, it loses the…
Pax Beach
  • 2,059
  • 1
  • 20
  • 27
0
votes
0 answers

How to get Current open Application package name in android Lollipop and marshmallow

i am trying to get Currently open application package name and i got in kitkat but it will not work in android lollipop, it will every time return the my install application package name i don't know why this happening, code private void…
Gaurav Mandlik
  • 525
  • 1
  • 9
  • 42
0
votes
1 answer

How do I replicate the Recent Tasks/Apps button in Android Marshmallow?

This works perfectly on Lollipop: recents_button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // Perform action on click Intent intent = new Intent…
zamarov
  • 165
  • 2
  • 16
0
votes
1 answer

Theme dose not saved in shared preferences

I have set themes in my app. Themes working well when app is running. But when I do clear app from recent screens and run again, the default theme get set to application not the changed theme. I want to run the app with previously changed theme. For…
Sid
  • 2,792
  • 9
  • 55
  • 111
0
votes
1 answer

Save recent clicks by user

I needed to make a recently opened module for my app. I'm using a viewpager with 3 fragments, each one of those has a listview on it. The 1st listview that when clicked must store the clicked item on a listview on a different fragment. I was…
user2135367