Thanks for the answers.. I guess it would be better to use alarms then and
recreate the activity as needed.
On Mon, Aug 30, 2010 at 9:01 AM, Dianne Hackborn wrote:
> On Sun, Aug 29, 2010 at 12:52 PM, Teo wrote:
>
>> Will the process/activity be killed if it has a Handler running in it?
>
>
> Th
On Sun, Aug 29, 2010 at 12:52 PM, Teo wrote:
> Will the process/activity be killed if it has a Handler running in it?
There being a Handler with pending (or running) messages has no influence on
when a process will be killed. The only things that matter for this are the
state of any activities
Will the process/activity be killed if it has a Handler running in it?
Managing the stuff myself would mean i'll have a list of Handlers/Runnables
instead of single fields, but nothing of consequence in the activity changes
(e.g. another app might take focus, not only an activity from my own app,
a
On Sun, Aug 29, 2010 at 6:59 AM, Teo wrote:
> That's not a bad idea actually, but that would mean i'd have to keep tabs
> on all the stuff myself...
You really don't want to avoid keeping track of what you are doing.
Throwing stuff up into the system and hoping it all comes down in the right
p
On Sun, Aug 29, 2010 at 9:59 AM, Teo wrote:
> What i'm doing now is using a Handler for the snooze time (don't want to mix
> AlarmManager alarms with the app's own alarms).
That will only work if the activity stays in RAM. That's fairly likely
in your case, but not assured.
--
Mark Murphy (a Co
That's not a bad idea actually, but that would mean i'd have to keep tabs on
all the stuff myself...
What i'm doing now is using a Handler for the snooze time (don't want to mix
AlarmManager alarms with the app's own alarms). Each Activity instance has
its own Handler, so when the Runnable is run
I'm not sure how you would be able to identify which instance to bring
to the front, if they are all the same activity.
Have you considered updating your flow, such that the second alarm
brings the existing activity instance to the front, which then
displays snooze/dismiss options for both alarms?
Hi,
i have multiple instances of the same activity, is there a way to
programatically bring one of the instances to the front? I've read
some existing threads and it seems there's no way to do this... My
specific use case is of a Snooze/Dismiss type of screen. The problem
would appear when the use
8 matches
Mail list logo