c# - How to play Windows Phone 8 SpeechSynthesizer during lock screen? -


i have following code synthesize text speech in windows phone 8 application, can't seem figure out how have continuously play during lock screen/screen off/or in background. have suggestion or snippit of code on how this?

speechsynthesizer synth = new speechsynthesizer(); await synth.speaktextasync("text read during screen off/lock screen/background"); 

it suggestion, why don't allow app run under lock screen.

in application_launching , application_activated events add:

phoneapplicationservice.current.applicationidledetectionmode = idledetectionmode.disabled; 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -