The app receives activation events only for the URI scheme names listed in the package manifest. Step 1: Specify the extension point in the package manifest See Reserved URI scheme names and file types for an alphabetic list of Uri schemes that you can't register for your UWP apps because they are either reserved or forbidden. Attempts to register your app with a reserved URI or file extension will be ignored. In UWP apps, certain URIs and file extensions are reserved for use by built-in apps and the operating system. These steps show how to register for a custom URI scheme name, alsdk://, and how to activate your app when the user launches a alsdk:// URI. For more info on URI associations, see Guidelines and checklist for file types and URIs. For example, an app that registers for the mailto: URI scheme name should open to a new e-mail message so that the user can compose a new e-mail. If you do choose to register for a URI scheme name, you must provide the end user with the functionality that is expected when your app is activated for that URI scheme. We recommend that you only register for a URI scheme name if you expect to handle all URI launches for that type of URI scheme. If the user chooses your app as the default handler for a URI scheme name, your app will be activated every time that type of URI is launched. Both Windows desktop apps and Universal Windows Platform (UWP) apps can register to be a default handler for a URI scheme name. Learn how to register an app to become the default handler for a Uniform Resource Identifier (URI) scheme name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |