You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/apps/publish/publish-your-app/pwa/age-ratings.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
description: The Age ratings page of the app submission process lets you provide information about your PWA app so it can receive the appropriate age ratings from the International Age Ratings Coalition (IARC).
Copy file name to clipboardExpand all lines: uwp/launch-resume/launch-app-with-uri.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Launch an app with a URI
3
3
description: This section describes how to use a Uniform Resource Identifier (URI) to launch one app from another app.
4
4
ms.assetid: a40c4ce2-4f41-4a55-aeb3-1beb3e84e839
5
-
ms.date: 02/08/2017
5
+
ms.date: 12/06/2024
6
6
ms.topic: article
7
7
keywords: windows 10, uwp
8
8
ms.localizationpriority: medium
@@ -24,5 +24,6 @@ This section describes how to use a Uniform Resource Identifier (URI) to launch
24
24
|[Launch screen snipping](launch-screen-snipping.md)| Learn how to use URI schemes to open a new snip, or to open the Snip & Sketch app. |
25
25
|[Enable apps for websites using app URI handlers](web-to-app-linking.md)| Drive user engagement with your app by supporting the Apps for Websites feature. |
26
26
27
-
## Related Topics
28
-
*[Launch an app on a remote device](launch-a-remote-app.md)
27
+
## Related content
28
+
29
+
-[Launch an app on a remote device](launch-a-remote-app.md)
|[microsoft-edge:](#microsoft-edge-uri-scheme)| Microsoft Edge browser |
39
+
|[ms-recall:](/windows/ai/apis/recall#launch-click-to-do) >>> | Click to do (part of [Recall](/windows/ai/apis/recall)). |
40
+
41
+
For example, the following URI opens the default browser and displays the Microsoft Bing web site: `https://bing.com/`.
45
42
46
43
You can also launch custom URI schemes too. If there is no app installed to handle that URI, you can recommend an app for the user to install. For more info, see [Recommend an app if one is not available to handle the URI](#recommend-an-app-if-one-is-not-available-to-handle-the-uri).
47
44
48
45
In general, your app can't select the app that is launched. The user determines which app is launched. More than one app can register to handle the same URI scheme. The exception to this is for reserved URI schemes. Registrations of reserved URI schemes are ignored. For the full list of reserved URI schemes, see [Handle URI activation](handle-uri-activation.md). In cases where more than one app may have registered the same URI scheme, your app can recommend a specific app to be launched. For more info, see [Recommend an app if one is not available to handle the URI](#recommend-an-app-if-one-is-not-available-to-handle-the-uri).
49
46
50
-
###Call LaunchUriAsync to launch a URI
47
+
## Call LaunchUriAsync to launch a URI
51
48
52
49
Use the [**LaunchUriAsync**](/uwp/api/windows.system.launcher.launchuriasync) method to launch a URI. When you call this method, your app must be the foreground app, that is, it must be visible to the user. This requirement helps ensure that the user remains in control. To meet this requirement, make sure that you tie all URI launches directly to the UI of your app. The user must always take some action to initiate a URI launch. If you attempt to launch a URI and your app isn't in the foreground, the launch will fail and your error callback will be invoked.
@@ -135,24 +132,24 @@ Use the **ms-call:** URI scheme to launch the Call app.
135
132
136
133
| URI Scheme | Result |
137
134
|------------------|--------------------------|
138
-
| ms-call:settings| Calls app settings page. |
135
+
|`ms-call:settings`| Calls app settings page. |
139
136
140
137
### Email URI scheme
141
138
142
139
Use the **mailto:** URI scheme to launch the default mail app.
143
140
144
-
| URI Scheme |Results |
145
-
|------------|---------------------------------|
146
-
| mailto:| Launches the default email app. |
147
-
| mailto:\[email address\]| Launches the email app and creates a new message with the specified email address on the To line. Note that the email is not sent until the user taps send. |
141
+
| URI Scheme |Results |
142
+
|------------|--------|
143
+
|`mailto:`| Launches the default email app. |
144
+
|`mailto:\[email address\]`| Launches the email app and creates a new message with the specified email address on the To line. Note that the email is not sent until the user taps send. |
148
145
149
146
### HTTP URI scheme
150
147
151
148
Use the **http:** URI scheme to launch the default web browser.
@@ -170,19 +167,19 @@ Use the **ms-chat:** URI scheme to launch the Windows Messaging app.
170
167
171
168
| URI scheme |Results |
172
169
|------------|--------|
173
-
| ms-chat:| Launches the Messaging app. |
174
-
| ms-chat:?ContactID={contacted}| Allows the messaging application to be launched with a particular contact’s information. |
175
-
| ms-chat:?Body={body} | Allows the messaging application to be launched with a string to use as the content of the message.|
176
-
| ms-chat:?Addresses={address}&Body={body} | Allows the messaging application to be launched with a particular addresses' information, and with a string to use as the content of the message. Note: Addresses can be concatenated. |
177
-
| ms-chat:?TransportId={transportId}| Allows the messaging application to be launched with a particular transport ID. |
170
+
|`ms-chat:`| Launches the Messaging app. |
171
+
|`ms-chat:?ContactID={contacted}`| Allows the messaging application to be launched with a particular contact’s information. |
172
+
|`ms-chat:?Body={body}`| Allows the messaging application to be launched with a string to use as the content of the message.|
173
+
|`ms-chat:?Addresses={address}&Body={body}`| Allows the messaging application to be launched with a particular addresses' information, and with a string to use as the content of the message. Note: Addresses can be concatenated. |
174
+
|`ms-chat:?TransportId={transportId}`| Allows the messaging application to be launched with a particular transport ID. |
178
175
179
176
### Tone picker URI scheme
180
177
181
178
Use the **ms-tonepicker:** URI scheme to choose ringtones, alarms, and system tones. You can also save new ringtones and get the display name of a tone.
182
179
183
180
| URI Scheme | Results |
184
181
|------------|---------|
185
-
| ms-tonepicker: | Pick ringtones, alarms, and system tones. |
182
+
|`ms-tonepicker:`| Pick ringtones, alarms, and system tones. |
186
183
187
184
Parameters are passed via a [ValueSet](/uwp/api/windows.foundation.collections.valueset) to the LaunchURI API. See [Choose and save tones using the ms-tonepicker URI scheme](launch-ringtone-picker.md) for details.
188
185
@@ -192,7 +189,7 @@ Use the **ms-yellowpage:** URI scheme to launch the Nearby Numbers app.
192
189
193
190
| URI Scheme | Results |
194
191
|------------|---------|
195
-
| ms-yellowpage:?input=\[keyword\]&method=\[String or T9\]| Launches the Nearby Numbers app.<br>`input` refers to the keyword you want to search.<br>`method` refers to the type of search (string or T9 search).<br>If `method` is `T9` (a type of keyboard) then `keyword` should be a numeric string that maps to the T9 keyboard letters to search for.<br>If `method` is `String` then `keyword` is the keyword to search for. |
192
+
|`ms-yellowpage:?input=\[keyword\]&method=\[String or T9\]`| Launches the Nearby Numbers app.<br>`input` refers to the keyword you want to search.<br>`method` refers to the type of search (string or T9 search).<br>If `method` is `T9` (a type of keyboard) then `keyword` should be a numeric string that maps to the T9 keyboard letters to search for.<br>If `method` is `String` then `keyword` is the keyword to search for. |
196
193
197
194
### People app URI scheme
198
195
@@ -210,10 +207,10 @@ Or to edit a video: `ms-photos:videoedit?InputToken=123abc&Action=Trim&StartTime
210
207
211
208
| URI scheme |Results |
212
209
|------------|--------|
213
-
| ms-photos:viewer?fileName={filename} | Launches the Photos app to view the specified image where {filename} is a fully-qualified path name. For example: `c:\users\userName\Pictures\ImageToView.jpg`|
214
-
| ms-photos:videoedit?InputToken={input token} | Launches the Photos app in video editing mode for the file represented by the file token. **InputToken** is required. Use the [SharedStorageAccessManager](/uwp/api/Windows.ApplicationModel.DataTransfer.SharedStorageAccessManager) to get a token for a file. |
215
-
| ms-photos:videoedit?Action={action} | A parameter that indicates which video editing mode to open the Photos app in, where {action} is one of: **SlowMotion**, **FrameExtraction**, **Trim**, **View**, **Ink**. **Action** is required. |
216
-
| ms-photos:videoedit?StartTime={timespan} | An optional parameter that specifies where to start playing the video. `{timespan}` must be in the format `"hh:mm:ss.ffff"`. If not specified, defaults to `00:00:00.0000`|
210
+
|`ms-photos:viewer?fileName={filename}`| Launches the Photos app to view the specified image where {filename} is a fully-qualified path name. For example: `c:\users\userName\Pictures\ImageToView.jpg`|
211
+
|`ms-photos:videoedit?InputToken={input token}`| Launches the Photos app in video editing mode for the file represented by the file token. **InputToken** is required. Use the [SharedStorageAccessManager](/uwp/api/Windows.ApplicationModel.DataTransfer.SharedStorageAccessManager) to get a token for a file. |
212
+
|`ms-photos:videoedit?Action={action}`| A parameter that indicates which video editing mode to open the Photos app in, where {action} is one of: **SlowMotion**, **FrameExtraction**, **Trim**, **View**, **Ink**. **Action** is required. |
213
+
|`ms-photos:videoedit?StartTime={timespan}`| An optional parameter that specifies where to start playing the video. `{timespan}` must be in the format `"hh:mm:ss.ffff"`. If not specified, defaults to `00:00:00.0000`|
217
214
218
215
### Settings app URI scheme
219
216
@@ -239,12 +236,12 @@ Use the **msnweather:** URI scheme to launch the Weather app.
239
236
240
237
| URI Scheme | Results |
241
238
|------------|---------|
242
-
| msnweather://forecast?la=\[latitude\]&lo=\[longitude\]| Launches the Weather app in the Forecast page based on a location geographic coordinates.<br>`latitude` refers to the latitude of the location.<br> `longitude` refers to the longitude of the location.<br>|
239
+
|`msnweather://forecast?la=\[latitude\]&lo=\[longitude\]`| Launches the Weather app in the Forecast page based on a location geographic coordinates.<br>`latitude` refers to the latitude of the location.<br> `longitude` refers to the longitude of the location. |
243
240
244
241
### Microsoft Edge URI scheme
245
242
246
243
Use the **microsoft-edge:** URI scheme to launch the Microsoft Edge browser to a specified URL.
247
244
248
245
| URI Scheme | Results |
249
246
|------------|---------|
250
-
| microsoft-edge:https://example.com/]| Opens the Microsoft Edge browser and navigates to https://example.com/<br>|
247
+
|`microsoft-edge:https://example.com/`| Opens the Microsoft Edge browser and navigates to `https://example.com/`|
0 commit comments