I was convinced that by calling from a service a routine of an Activity currently not in Foreground, this Activity would be open.
This happen-works only when a different Activity of the app is in Foreground (the app itself is in Foreground); if the app is paused, the call is added to a queue but then it is not executed when the app is bringed in Foreground (except, probably, if the target Activity is already visible).
Is it so?
Has it always been so?
This happen-works only when a different Activity of the app is in Foreground (the app itself is in Foreground); if the app is paused, the call is added to a queue but then it is not executed when the app is bringed in Foreground (except, probably, if the target Activity is already visible).
Is it so?
Has it always been so?
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (srvservice) Create ***
** Service (srvservice) Start **
** Activity (main) Pause, UserClosed = false **
Calling a routine of act2
sending message to waiting queue of uninitialized activity (routine)
** Activity (main) Resume **
srvservice uses CallSubDelayed to call a routine of act2, which is never executed.
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (srvservice) Create ***
** Service (srvservice) Start **
** Activity (main) Pause, UserClosed = false **
Calling a routine of act2
sending message to waiting queue of uninitialized activity (routine)
** Activity (main) Resume **
srvservice uses CallSubDelayed to call a routine of act2, which is never executed.
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (srvservice) Create ***
** Service (srvservice) Start **
** Activity (main) Pause, UserClosed = false **
** Activity (act2) Create, isFirst = true **
** Activity (act2) Resume **
** Activity (act2) Pause, UserClosed = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
Calling a routine of act2
sending message to waiting queue (CallSubDelayed - Routine)
** Activity (main) Resume **
srvservice uses CallSubDelayed to call a routine of act2, which is never executed.
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (srvservice) Create ***
** Service (srvservice) Start **
** Activity (main) Pause, UserClosed = false **
** Activity (act2) Create, isFirst = true **
** Activity (act2) Resume **
** Activity (act2) Pause, UserClosed = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
Calling a routine of act2
sending message to waiting queue (CallSubDelayed - Routine)
** Activity (main) Resume **
srvservice uses CallSubDelayed to call a routine of act2, which is never executed.
Last edited: