You can specify an Activity to look like a Dialog by adding the following line in your Manifest (in the section of your specific Activity):
android:theme="@android:style/Theme.Dialog" You can now call your Activity by sending an Intent. This should bring up a "Dialog" that can be shown wherever you want (even the Home application). On 15 Jul., 11:39, James <[email protected]> wrote: > I'm trying to replicate some functionality that I've seen, but can't > seem to figure it out. > Specifically, the Timer application included in HTC Sense generates a > dialog message with a "Dismiss" button. > This dialog appears regardless of what Activity is running and can > also appear when on the home screen. > The dialog does not bring the Timer application back to the > foreground. > The dialog can be dismissed by clicking the dismiss button. > > I know that the NotificationManager is the preferred method to notify > a user of an event. However, I would still like to be able to > replicate the functionality that is included in HTC's Timer app. -- 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

