Yes, the alarm manager will schedule it and then you can create an activity to 
be called with Theme.Dialog.





________________________________
 From: TreKing <treking...@gmail.com>
To: android-developers@googlegroups.com 
Sent: Wednesday, February 27, 2013 11:29 PM
Subject: Re: [android-developers] How to schedule a daily popup dialog box even 
when the app may not be running...?
 



On Wed, Feb 27, 2013 at 5:42 PM, Boyd Speer <bsp...@shaw.ca> wrote:

How can I schedule a daily popup dialog box (that appears to remind the user to 
do something) that remains visible until it is manually closed by the user?
>
>
>Would a service be utilized? If so how? Or would an alarm be the best 
>solution. If the app is killed or restarted can the popup still be scheduled 
>to happen?
>
>
>Thanks for your suggestions.

Use AlarmManager to schedule a PendingIntent that starts an Activity that has a 
dialog theme.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to