android-task Questions
1
As per the docs, singleTask activities can't have multiple instances. The only activity of my app is singleTask, and it has 2 instances at the same time.
Steps to recreate the issue
Step 1
Creat...
Bait asked 15/2, 2019 at 15:12
5
Solved
In my application, I create a notification which starts Details Activity. I want to add this activity to top of current task (or back stack). For example I expect application task (back stack) to b...
Gaff asked 9/2, 2017 at 17:14
3
Solved
Say you have an app A which opens up another app B (e.g. a map), which is not controlled by you (i.e. it's a preexisting app). So now app A is in the background. Suppose an event occurs and A wants...
Decretive asked 13/9, 2016 at 21:47
6
I'm trying to use the android Job Scheduler API and all I'm trying to do is have the Job Scheduler run every 5 seconds. However when I run it, the corresponding service is hit every two minutes. I ...
Courier asked 7/4, 2015 at 12:48
2
So I have been reading the docs on Tasks, Back Stack and Overview Screen and there is one thing that immensely confuses me. After having read launchMode here: http://developer.android.com/guide/com...
Talia asked 22/8, 2015 at 8:31
4
Solved
Background
My app allows to sort an apps list by the time they were recently launched .
The problem
As of Android "L" , the function getRecentTasks will just return the list of apps that the cur...
Trochlear asked 5/7, 2014 at 21:1
0
I want to prevent user from leaving my app. I am trying to achieve this through home launcher activity/application and I don't understand android's behaviour. Pressing HOME first time always create...
Phaeton asked 23/2, 2016 at 21:51
1
Solved
I've been reading doc regarding to launch modes and there is one thing I don't understard. The doc says that singleTask activity is always the root of the stack:
In contrast, "singleTask" and "s...
Mammalian asked 26/11, 2015 at 16:46
2
Solved
I have 2 activities: Activity A and Activity B. Activity A's launch mode is standard, and Activity B's launch mode is singleTask.
<activity
android:name=".AActivity"
android:label="@string/a...
Movable asked 28/9, 2015 at 13:19
4
Solved
I have come across a requirement but I am not able to get the correct way of implementation and hence need your help.
What I want to do? - I want to perform an action depending upon notification I...
Scylla asked 2/6, 2015 at 10:36
2
Solved
What happens when you click on an app's launch icon?
Is a new intent always sent, or is the result sometimes the same as resuming a task from recent tasks?
If an intent is sent, when does it get...
Losse asked 31/8, 2014 at 18:19
1
© 2022 - 2024 — McMap. All rights reserved.