Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Creator Update in UWP

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article shares with you the content of the sample analysis of Creator Update in UWP. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Build version 15063 +

1. Can add animation to other attributes of CompositionObjects (shadow, cropping, attribute collection)

2. When the equipment is plugged in, apply to the system for app to run in the background through Extended Excution Session api. (supported in 14393)

You can take advantage of this new feature to apply for app to run in the background for a long time so that offline or P2P uploads will not be interrupted.

ExtendedExecutionSession Class api documentation:

3. Tile and Toast

1) app can determine whether the pinned is on the taskbar of the system; the request to the system is fixed on the taskbar. (api is in development)

Using this api can increase the frequency of app being used by users on the computer.

2) app can check whether its main tape is pin on the start menu; ask the system to fix it on the system start menu.

In the past, app could only pin secondary tiles to the start menu.

Primary tile documentation:

3) traceable Tile notifications: when the user clicks the tile, the app can know what is displayed on the current tile (14393)

Documentation:

4) context menu in Toast notifications (14393)

Run the developer to customize the context menu on the Toast notification:

Documentation:

5) grouping the title of Toast:

Allows you to provide a header for toast notifications that combines multiple toast

Documentation:

6) add a custom timestamp (timestamp) to the Toast notification:

7) Toast Quick reply and other ways of scene interaction (10240):

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

Interactive toast notifications with multiple interactive steps are allowed. For example, the initial toast has a drop-down menu, the next button, and then click next to trigger a background task while leaving toast pending until your application updates toast next.

9) Notification listener (Notification Listener):

Allow other app to get your notifications, which can be used to create wearable devices. Smartwatches can use notification listeners to send notifications from your phone to wearable devices. Home automation applications can perform actions when you receive certain notifications, such as a notification from your best friend.

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

11) cropping the background image of Tile notification:

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

Build2016 Video:

By watching the video, we can see that this plug-in mechanism is better than App Service, but it is more limited and cannot be called through a custom interface in the code. The main app can trim, adjust grayscale and reverse color by calling a third-party plug-in, but the mechanism is that the third-party plug-in provides a local html5 file, which is placed in a public folder (the main app and the public folder shared by the plug-in), and then the main app loads the html5 file in the webView control, which processes the picture through JavaScript. Passed to the master app. The main app transcodes the picture into base64 first, then transforms it into a string, and then passes it to JavaScript in webView. After processing, it also transforms the picture into a string through base64 and passes it to the main app. The process is a little tedious.

5. Controls:

1) ColorPicker control (under development)

2) Navigation View control (under development)

3) drop-down refresh control Pull to Refresh Control (under development)

4) New "scoring" control Ratings Control (under development)

5) add delete lines to TextBlock:

6) Swipe control (under development)

7) Tree View control (under development)

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

For video app, it is similar to the top of the application, but the size of the application window is limited, so you can only go to 500x500pixel in your impression.

Api documentation:

7. Use show/hide to customize page transitions animation

Developers can customize how item is shown and hidden during page transitions animation

8. Developers control app updates (14393)

Developers can control optional / mandatory updates to app. Developers can enable / disable features until updates are installed.

Api documentation:

9. It is easier to install the .appx or .appxbundle file installation package (14393)

You can use this api to distribute application packages in a non-Microsoft store channel.

Documentation:

10. Use lights, renderings, blur, noise assets, blending modes, etc., to create a more realistic user interface and contextual materials

11. Distribute app packages among multiple devices over the network, which is suitable for scenarios where multiple people assist in development:

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

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

Because SVG is vector graphics and does not appear aliased on high-resolution screens, large png icons can be replaced to reduce the app package size. Dynamic SVG will support it later.

14. Streaming (step by step) installation of App package:

UWP Streaming Install allows you to tell Windows Store what to download first. When the main part is downloaded, the user can start and run your app, and the rest of the package can continue to be loaded in the background.

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

When the user gets an update for the UWP application, the deployment stack performs differential downloads based on the change blocks in the application, minimizing user bandwidth and update time. In Windows 10 Creators Update, a new tool (ComparePackage) has been introduced that allows developers to understand the incremental impact of the two packages on end users. ComparePackage will show the addition, change, and deletion of files to allow developers to further optimize as needed.

Thank you for reading! This is the end of this article on "sample Analysis of Creator Update in UWP". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report