倒数计时器到期后播放声音... [英] Playing a sound after Countdown Timer expires...

查看:77
本文介绍了倒数计时器到期后播放声音...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我对倒计时计时器有疑问.我正在为WP 7.5/8开发.

I have a question regarding the countdown timer. I am developing for WP 7.5/8.

一旦倒数计时器到期并且用户退出应用程序后,是否可以播放声音文件(从应用程序内部)?

Is it possible to play a sound file (from within the app) once the countdown timer has expired and when the user has exited the app?

如果是,那么有人可以提供一些有关如何完成此任务的指南.谢谢.

If yes then can someone please give some guidelines on how to accomplish this task. Thanks.

Sachin

推荐答案

通常情况下,一旦应用退出,所有应用线程都会关闭.

Hi, normally once the app exits, all app threads are closed.

但作为最后一步,您的应用程序可以 启动Media Player 播放声音,但用户会看到它出现在屏幕上.

But as a final step your app can launch the Media Player to play the sound, except the user will see it appear on the screen.

您还可以考虑 背景音频

Also you might consider Background audio

-马克


这篇关于倒数计时器到期后播放声音...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆