c# - How to show a scheduled dialog in a Windows Phone 8.1 Runtime app? -
i'm trying code timer-app c# windows phone 8.1 runtime. goal show dialog , play sound file when timer ended. if user press "ok" sound stopped. "snooze" function great. maybe not in app, i'm planning personalized alarm clock too. because add timespan timer datetime.now easiest way trigger @ specified time. here ideas had, don't want.
- register background task. there's no trigger specified time. timetrigger fires @ every 30 min. solution, not resource friendly, methinks, if expected time within next 30 minutes , await specified time in background task , use contantdialog. not sure if possible @ all.
- another possibility use toast notification, there no possibility of interaction , not impressive, if want notice timer.
- alarms , reminders no longer available rt apps...
is there no other way? if there trigger background tasks if internet connection active, isn't there trigger scheduled time? or maybe possibility code old alarms , reminders myself?
sorry there no code. don't have useful code problem yet.
how solve problem? maybe timer, alarm clock, calender, task reminder or else needs interaction @ scheduled time. help.
the real way achieve alarm, (as note) silverlight only.
for runtime app toast closest, isn't alarmy. once user taps toast (if @ all) can launch app more detail. toasts (especially when linked tile update) calendar , task reminders, if want alarm need (silverlight-only) alarm api.
a background task cannot show ui (other raising toast, doesn't need background task), if timing right couldn't show contentdialog.
Comments
Post a Comment