UWP Application Development Series video tutorial introduction, uwp Application Development
Thank you very much for bringing us a series of tutorials with Chinese subtitles!
Http://zhuanlan.zhihu.com/MSFaith/20364660
The following is an example of this series of video tutorials, including code, images, bullet screens, and foreigners!
What is a universal Windows platform (UWP) application?
The universal Windows platform (UWP) application is a Windows experience generated based on the universal Windows platform (UWP). It is first introduced in Windows 8 as a Windows runtime. The user wantsExperienceThis concept is at the core of UWP applications, where all devices are mobile and want to use the most convenient or efficient devices to complete tasks.
With Windows 10, you can develop UWP applications more easily, with only one API set, one app package, and one app store, you can access all Windows 10 devices-PCs, tablets, and mobile phones. Support for many screen sizes and various interactive models (touch, mouse, keyboard, game controller, and pen) is also easier.
So what is the UWP application?
What makes UWP applications different? The following features differentiate UWP applications on Windows 10.
- Your target device series, not an operating system.
The device family identifies the APIS, system features, and actions required on the devices. It can also determine the device set on which the App Store application is installed.
- The application uses the. AppX packaging format for packaging and distribution.
All UWP applications can be allocated as AppX packages. This provides a reliable installation mechanism and ensures that applications can be deployed and updated seamlessly.
- There is an app store for all devices.
After registering as an application developer, you can submit an application to the application store and make it available on all or only the selected device series. You will submit and manage all applications for Windows devices in one location.
- A common API diagram is displayed on the device series.
All Windows devices use the same universal Windows platform (UWP) core API. If your application only uses the core API, it will run on any Windows 10 device.
- The extension SDK can deploy your applications on dedicated devices.
The extension SDK can add dedicated APIs for each device series. If your application is targeting a specific device series, you can use these APIs to decorate the application. Before calling an extended API, you can still have an application package running on all devices by checking the device series on which the application runs.
- Adaptive Control and Input
UI element usageValid Pixel(See responsive design 101 For UWP applications), so they are automatically adjusted based on the number of available screens on the device. They also work well with a variety of input types (such as keyboard, mouse, touch, pen, and Xbox One controller. If you need to further customize the UI for a specific screen size or device, the new layout panel and tools will help you adapt the UI to the device that runs the application.
For more information about UWP, see the General Windows platform application guide.
Use a language you already know
You can use the most familiar programming languages (such as C # Or Visual Basic and XAML, JavaScript and HTML, or C ++ and DirectX and/or Extensible Application Markup Language (XAML )) create a UWP application. You can even write components in one language and use them in applications written in another language.
UWP applications can use Windows runtime, which is a local API built into the operating system. This API is implemented in C ++ and supports C #, Visual Basic, C ++, and JavaScript, and is naturally supported in every language.
Microsoft Visual Studio 2015 provides a UWP Application Template for each language, which allows you to create a single project for all devices. After completing the work, you can generate an application package and submit it from Visual Studio to the Windows App Store to provide your applications to customers on any Windows 10 devices.
Build a UWP application on Windows
On Windows, your application can provide users with relevant and real-time information and attract them to access more information. In the modern application economy, your applications must be attractive enough to be favored by users. Windows provides you with a large amount of resources, so that your users will go back and use your application:
- Dynamic tile and lock screen display context-related and real-time information overview.
Push notifications can provide real-time alerts as needed to attract users' attention.
The operation center allows you to organize and display the notifications and content that users need to perform operations.
Background execution and triggers enable your application to run only when the user needs it.
Your applications can use voice and Bluetooth LE devices to help users interact with the world around them.
Finally, you can use the roaming data and Windows credential safe to provide a consistent roaming experience on all Windows screens where the user runs your application. With roaming data, you can easily store users' preferences and settings in the cloud without generating your own synchronization infrastructure. In addition, you can store user creden In the credential safe. This function focuses on security and reliability.
Sell applications in your own way
On Windows, you can choose how to sell your applications-through mobile phones, tablets, PCs, and other devices. We provide a variety of ways for you to benefit from your own applications and the services you provide. You only need to select the method that best suits you.
- Paid download is the simplest option. You only need to specify the price.
- Trial is an excellent sales method, that is, you can try your application before buying, compared with the more traditional "Free mode" option, it is easier for users to discover and use your application.
- In-APP purchase is the most flexible option to benefit from your own applications.
Let's get started.
For more information about UWP, see the General Windows platform application guide. Then, check the preparation to download the required tools for creating the application.