Hi all,

I'm trying to replicate some functionality that I've seen, but I can't
seem to figure out how.  Specifically, I'm looking at the Timer
application (part of the clock) that is included with HTC Sense.  When
the countdown for the timer expires, a small dialog box pops up
regardless of what Activity/App the user is running.  This dialog box
does NOT bring the Timer application back to the foreground.  The user
can dismiss the dialog by clicking the "Dismiss" button included in
the dialog, or by clicking the 'Back' button on the device.

I'm currently using the AlarmManager in tandem with a
BroadcastReceiver to determine when the dialog should appear.
However, I can't seem to get a dialog to show the way I want.

I have tried having the BroadcastReceiver send an Intent to a
Dialog.Themed Activity, but that brings my entire app back to the
foreground.

I know that the NotificationManager is the preferred method to notify
the user of an event.  However, for my application, this type of pop-
up dialog makes more sense in much the same way that it makes sense
for the Timer application included with HTC Sense (that's a lot of
sense).  Is this something that will be possible with stock Android?
Or is this some kind of special hook that HTC included in their Sense-
ified version?

Thanks for any tips.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to