Wednesday, February 27, 2013

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 <bspeer@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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment