Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows UWP as Screensaver?

On Windows 10, can a UWP be launched as a screensaver? If so, how do you register your app with the OS such that it gets listed in the screensaver dialog?

(Windows 8 store apps cannot be screensavers. I cannot find any information on UWPs)

like image 848
Tristan Avatar asked Jan 08 '16 21:01

Tristan


1 Answers

I am very sorry to disappoint you, but no, you can not set your UWP app as a screensaver provider.

What you could do instead is offering the user to give your app control of the lock screen or wallpaper image. UWP apps are able to set these images even when running in a background task with the UserProfilePersonalizationSettings class:

// Lock Screen
await UserProfilePersonalizationSettings.Current.TrySetLockScreenImageAsync(StorageFile);

// Wallpaper
await UserProfilePersonalizationSettings.Current.TrySetWallpaperImageAsync(StorageFile);
like image 60
Robin-Manuel Thiel Avatar answered Sep 19 '22 20:09

Robin-Manuel Thiel