Vishwanath
Vishwanath

Reputation: 845

Executing program while camera capture Windows Phone 8 SDK

I am working on a project which calls a function attached with a timer. However, when the camera capture is active, the function is not called. I suppose this happens since the camera capture task needs to complete before any other task is started. Is there any way to make the timer work even when the camera capture is working? Code snippets would be of great help.

Thank you.

Upvotes: 1

Views: 372

Answers (1)

Olivier Payen
Olivier Payen

Reputation: 15268

If you use the CameraCaptureTask, the app is indeed suspended until the task has ended.

So if you need to have your app running while taking a photo, you should use the Windows.Phone.Media.Capture APIs. Here is a link on MSDN on Advanced photo capture for Windows Phone 8

Upvotes: 2

Related Questions