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
Post a Comment