JamieKitson / FlickrAutoUploader

Windows Phone Flickr Auto Uploader
0 stars 1 forks source link

Rewrite for WinRT #37

Open JamieKitson opened 8 years ago

JamieKitson commented 8 years ago

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

JamieKitson commented 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

JamieKitson commented 8 years ago

Particularly interesting:

Maintenance Triggers: ...this will only run when the device is pluggedin to the power source . Condition: FreeNetworkAvailable

JamieKitson commented 8 years ago

Presumably I need to remove the old ResourceIntensiveTask:

https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj651556.aspx

JamieKitson commented 8 years ago

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.