Open JamieKitson opened 8 years ago
Looks like I need to switch to a WinRT app before doing this
http://sanathwindowsdev.blogspot.co.uk/2014/11/background-task-in-windows-phone-81.html
Particularly interesting:
Maintenance Triggers: ...this will only run when the device is pluggedin to the power source . Condition: FreeNetworkAvailable
Presumably I need to remove the old ResourceIntensiveTask:
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj651556.aspx
Looks like moving to WinRT would be a complete rewrite, plus I don't know how I'd migrate users. But maybe that latter point means the sooner the better, before I get, you know, into the twenties of users.
Title was: Use BackgroundTaskDeferral.Complete to finish uploading photo before task is cancelled
https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.backgroundtaskdeferral.complete.aspx
Not 100% sure we can do this with WP8.1