19. New Features of UWP (Creator Update) and uwpcreator

Source: Internet
Author: User
Tags app service creators update

19. New Features of UWP (Creator Update) and uwpcreator

 

Build version 15063 +

1. You can add animations for other attributes (shadow, cropping, and attribute set) of CompositionObjects.

2. When the device is powered on, you can use the Extended Excution Session api to apply for an app to run in the background. (Supported starting from 14393)

You can use this new feature to apply for an app to run in the background for a long time, so that offline or p2p upload is not interrupted.

ExtendedExecutionSession Class api documentation: https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.ExtendedExecution.ExtendedExecutionSession

3. Tile and Toast

1) The app can determine whether it has been pinned to the system taskbar; requests to the system are fixed to the taskbar. (The api is under development)

This api can be used to increase the frequency of apps being used by users on computers.

 

2) The app can check whether its primary tile is pin on the Start menu, and request from the system to fix it on the system's Start Menu.

In the past, the app can only pin Level 2 magnetic tape to the Start Menu.

Primary tile document: https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-primary-tile-apis

 

3) traceable Tile notification: when a user clicks the Tile, the app can know the content displayed on the current Tile (14393)

Document: https://blogs.msdn.microsoft.com/tiles_and_toasts/2016/04/06/chaseable-tiles-know-what-was-clicked-on-your-live-tile-windows-10-uwp/

 

4) Context menu in Toast notification (14393)

Run the following operations to customize the context menu on the Toast notification:

Document: https://blogs.msdn.microsoft.com/tiles_and_toasts/2016/06/10/whats-new-for-toast-notifications-and-action-center-in-windows-10-anniversary-update/

 

5) Toast title grouping:

Allows you to provide a header for a toast notification. This header combines multiple toast

Document: https://blogs.msdn.microsoft.com/tiles_and_toasts/2017/01/09/grouping-toast-notifications-under-different-headers-in-action-center-windows-10-creators-update/

  

6) Add a custom timestamp for the Toast notification ):

Https://blogs.msdn.microsoft.com/tiles_and_toasts/2017/01/09/custom-timestamp-on-toast-notifications-windows-10-creators-update/

 

7) interaction between Toast quick response and other scenarios (10240 ):

Https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/07/02/adaptive-and-interactive-toast-notifications-for-windows-10/

 

8) multiple interactions of Toast notifications (in Development ):

Interactive toast notifications with multiple interaction steps are allowed. For example, the initial toast has a drop-down menu and the next button. Then, click Next to trigger a background task and keep toast in the pending state until your application updates toast.

 

9) Notification Listener ):

Allow other apps to obtain your notifications and create wearable devices. Smart watches can use the notification listener to send notifications from mobile phones to wearable devices. Home automation applications can perform operations when receiving certain notifications, such as notifications from your best friends. Https://blogs.msdn.microsoft.com/tiles_and_toasts/2016/05/26/notification-listener-documentation-windows-10/

 

10) display the Progress control (such as the download Progress) on the toast notification ):

Https://blogs.msdn.microsoft.com/tiles_and_toasts/2017/02/01/progress-ui-and-data-binding-inside-toast-notifications-windows-10-creators-update/

 

11) crop the background image of the Tile notification:

Https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/11/03/whats-new-for-adaptive-tile-templates-in-windows-10-version-1511/

 

4. App Extension: uwp can use plug-ins provided by itself or third-party developers (also store Apps), and manage the installation and uninstallation of plug-ins. (14393)

Build2016 video: https://channel9.msdn.com/Events/Build/2016/B808

You can see from the video that this plug-in mechanism is more powerful than the App Service function, but there are many restrictions, so you still cannot call it through a custom interface in the code. The Code Engineering (https://github.com/Microsoft/App-Extensibility-Sample) provided in the video is studied. By calling third-party plug-ins, the main app can crop images, adjust the gray scale and color inversion, however, the mechanism is that a third-party plug-in provides an html5 local file and stores it in a public folder (the public folder shared by the main app and plug-in). Then, the main app loads the html5 file in the webView control, after processing the image in the file using JavaScript, it is passed to the main app. The main app first performs base64 transcoding on the image, converts it to a string, and passes it to JavaScript in webView. After processing, it also converts it to a string through base64 and passes it to the main app. The process is a bit cumbersome...

 

5. Controls:

1) ColorPicker control (under development)

2) Navigation View Control (under development)

3) Pull-down Refresh Control Pull to Refresh Control (under development)

4) New Ratings Control (under development)

5) TextBlock added strikethrough: https://docs.microsoft.com/en-us/uwp/api/windows.ui.text.textdecorations

6) Swipe control (under development)

7) Tree View Control (under development)

 

6. CompactOverlay mode (in-picture): puts the app at the top of all windows

For a video app, it is similar to setting the app to the top, but the size of the app window is limited. The maximum impression is 500x500 pixel.

Api documentation: https://blogs.msdn.microsoft.com/universal-windows-app-model/2017/02/11/compactoverlay-mode-aka-picture-in-picture/

 

7. Use show/hide to customize page transitions Animation

Developers can customize how items are displayed and hidden during page transitions animation.

 

8. Developers control app updates (14393)

Developers can control optional/force update of apps. Developers can enable/disable the feature until updates are installed.

Api documentation: https://blogs.msdn.microsoft.com/appinstaller/2016/11/11/developer-controlled-app-updates/

 

9. It is easier to install the. appx or. appxbundle File Installation Package (14393)

You can use this api to distribute application packages through non-Microsoft Store channels.

Document: https://blogs.msdn.microsoft.com/appinstaller/2016/05/27/app-installer/

 

10. Use lighting, blur, noise assets, and hybrid mode to create more realistic user interfaces and context Materials

 

11. The app package is distributed among multiple devices over the network. This package is applicable to scenarios where multiple users assist in development:

Https://blogs.msdn.microsoft.com/appinstaller/2016/11/04/rapid-app-development-using-register-layout-from-network-share-new-in-build-14965/

 

12. Uwp background tasks can be run in the same process as the main process (one-process background task model) (14393)

Https://blogs.windows.com/buildingapps/2016/06/07/background-activity-with-the-single-process-model/

 

13. SVG icon: Use a static SVG resource as an icon/image

Https://docs.microsoft.com/zh-cn/uwp/api/windows.ui.xaml.media.imaging.svgimagesource

Because SVG is a vector image, it does not appear in the high split screen, you can replace the large-size png icon to reduce the size of the app package. Dynamic SVG will be supported later

 

14. Streaming (step-by-step) Installation of App packages:

UWP Streaming Install allows you to tell Windows Store the first part to be downloaded. After the main part is downloaded, you can start and run your app, and the remaining part of the package can continue loading in the background.

Https://docs.microsoft.com/en-us/windows/uwp/packaging/streaming-install

 

15. ComparePackage helps developers differentiate between new and old installation packages:

When a user obtains an update of the UWP application, the deployment stack downloads the update based on the change block in the application to minimize the bandwidth and update time. In Windows 10 Creators Update, a new tool (ComparePackage) is introduced to allow developers to understand the incremental impact of the two software packages on end users. ComparePackage adds, modifies, and deletes the displayed files to allow developers to further optimize the files as needed.

 

For translation sorting, refer:

Https://docs.microsoft.com/zh-cn/windows/uwp/whats-new/windows-10-version-1703

Https://developer.microsoft.com/en-us/windows/platform/features/winrtregistrationsupportforoptionalpackages/

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.