Skip to content

Commit 37b4e31

Browse files
authored
Merge branch 'docs' into makeConfigurationStable
2 parents 83defb6 + 9600154 commit 37b4e31

File tree

154 files changed

+2581
-2210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+2581
-2210
lines changed

.openpublishing.redirection.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "uwp/whats-new/windows-docs-august-2017.md",
5+
"redirect_url": "/windows/uwp/",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "uwp/whats-new/windows-docs-august-2018.md",
10+
"redirect_url": "/windows/uwp/",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path": "uwp/whats-new/windows-docs-december-2017.md",
15+
"redirect_url": "/windows/uwp/",
16+
"redirect_document_id": false
17+
},
18+
{
19+
"source_path": "uwp/whats-new/windows-docs-february-2018.md",
20+
"redirect_url": "/windows/uwp/",
21+
"redirect_document_id": false
22+
},
23+
{
24+
"source_path": "uwp/whats-new/windows-docs-january-2019.md",
25+
"redirect_url": "/windows/uwp/",
26+
"redirect_document_id": false
27+
},
28+
{
29+
"source_path": "uwp/whats-new/windows-docs-july-2017.md",
30+
"redirect_url": "/windows/uwp/",
31+
"redirect_document_id": false
32+
},
33+
{
34+
"source_path": "uwp/whats-new/windows-docs-july-2018.md",
35+
"redirect_url": "/windows/uwp/",
36+
"redirect_document_id": false
37+
},
38+
{
39+
"source_path": "uwp/whats-new/windows-docs-may-2018.md",
40+
"redirect_url": "/windows/uwp/",
41+
"redirect_document_id": false
42+
},
43+
{
44+
"source_path": "uwp/whats-new/windows-docs-september-2017.md",
45+
"redirect_url": "/windows/uwp/",
46+
"redirect_document_id": false
47+
},
48+
{
49+
"source_path": "uwp/whats-new/windows-docs-september-2018.md",
50+
"redirect_url": "/windows/uwp/",
51+
"redirect_document_id": false
52+
},
353
{
454
"source_path": "uwp/monetize/get-xbox-live-analytics.md",
555
"redirect_url": "/windows/uwp/publish/xbox-analytics-report",
@@ -7579,6 +7629,16 @@
75797629
"source_path": "hub/apps/publish/update-your-app.md",
75807630
"redirect_url": "/windows/apps/publish/publish-your-app/publish-update-to-your-app-on-store?pivots=store-installer-msi-exe",
75817631
"redirect_document_id": false
7632+
},
7633+
{
7634+
"source_path": "uwp/data-access/mysql-databases.md",
7635+
"redirect_url": "/windows/apps/develop/data-access/mysql-database",
7636+
"redirect_document_id": false
7637+
},
7638+
{
7639+
"source_path": "uwp/data-access/mongo-db-databases.md",
7640+
"redirect_url": "/windows/apps/develop/data-access/mongodb-database",
7641+
"redirect_document_id": false
75827642
}
75837643
]
75847644
}

hub/android/wsa/index.md

Lines changed: 41 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Windows Subsystem for Android™️
3-
description: Windows Subsystem for Android enables your Windows 11 device to run Android applications that are available in the Amazon Appstore. Learn more about set up, device requirements, installing and uninstalling, input compatibility, testing and debugging, and using the Amazon Appstore.
3+
description: Windows Subsystem for Android™️ enables your Windows 11 device to run Android applications that are available in the Amazon Appstore. Learn more about set up, device requirements, installing and uninstalling, input compatibility, testing and debugging, and using the Amazon Appstore.
44
author: mattwojo
55
ms.author: mattwoj
66
ms.reviewer: mousma
@@ -31,7 +31,7 @@ This guide can help you test and debug your Android app on Windows:
3131

3232
## Developer GitHub
3333

34-
Want to learn more about Windows Subsystem for Android roadmap, discuss developer issues and file bugs or feature requests with the subsystem team? Visit the [Windows Subsystem for Android Developers GitHub](https://github.com/microsoft/WSA).
34+
Want to learn more about Windows Subsystem for Android™️ roadmap, discuss developer issues and file bugs or feature requests with the subsystem team? Visit the [Windows Subsystem for Android™️ Developers GitHub](https://github.com/microsoft/WSA).
3535

3636
## Preview Program
3737

@@ -43,16 +43,16 @@ To test your Android app in the Windows desktop environment, a bit of set up wil
4343

4444
### Prerequisites
4545

46-
Windows Subsystem for Android is available on Windows 11. Your device must meet specific requirements: [Device requirements](https://support.microsoft.com/windows/f8d0abb5-44ad-47d8-b9fb-ad6b1459ff6c).
46+
Windows Subsystem for Android™️ is available on Windows 11. Your device must meet specific requirements: [Device requirements](https://support.microsoft.com/windows/f8d0abb5-44ad-47d8-b9fb-ad6b1459ff6c).
4747

4848
### Install the Amazon Appstore
4949

50-
The Microsoft Store will automatically install Windows Subsystem for Android silently in the background when either of the two following user actions are taken:
50+
The Microsoft Store will automatically install Windows Subsystem for Android™️ silently in the background when either of the two following user actions are taken:
5151

5252
1. Install the [Amazon Appstore from the Microsoft Store](https://www.microsoft.com/store/productId/9NJHK44TTKSX). Selecting **Get** will begin the installation of the app.
5353
2. Install an Android app from the Microsoft Store for the first time, which will also install the Amazon Appstore.
5454

55-
The **Amazon Appstore** app will then appear in the Windows 11 Start menu and be available on search, offering a catalogue of Android apps. The **Windows Subsystem for Android** app, which lets you control mobile app settings and features, will also appear in the Start menu.
55+
The **Amazon Appstore** app will then appear in the Windows 11 Start menu and be available on search, offering a catalogue of Android apps. The **Windows Subsystem for Android™️** app, which lets you control mobile app settings and features, will also appear in the Start menu.
5656

5757
![Screenshot of Microsoft Store page featuring the Get button on the Amazon App Store](../../images/wsa-amazon-appstore-get.png)
5858

@@ -61,21 +61,21 @@ The **Amazon Appstore** app will then appear in the Windows 11 Start menu and be
6161
6262
## Windows Subsystem for Android™️ Settings
6363

64-
To modify Windows Subsystem for Android settings, go to: **Start > All Apps > Windows Subsystem for Android™️**. Learn more about specific settings app features: [Manage settings for mobile apps on Windows](https://support.microsoft.com/windows/000f97e8-8c20-490e-9ef4-cd90d903f847).
64+
To modify Windows Subsystem for Android™️ settings, go to: **Start > All Apps > Windows Subsystem for Android™️**. Learn more about specific settings app features: [Manage settings for mobile apps on Windows](https://support.microsoft.com/windows/000f97e8-8c20-490e-9ef4-cd90d903f847).
6565

6666
![Screenshot of Latte app settings](../../images/wsa-settings.png)
6767

6868
## Test and debug
6969

70-
To test and debug your app on a Windows 11 device using the Windows Subsystem for Android the following set up steps are required.
70+
To test and debug your app on a Windows 11 device using the Windows Subsystem for Android™️ the following set up steps are required.
7171

7272
### Enable developer mode in Windows Settings
7373

7474
You must first enable developer mode. Open the **[Windows Subsystem for Android™️](#windows-subsystem-for-android-settings)** settings. Once open, enable **Developer mode** under **Advanced settings**.
7575

76-
### Connect to the Windows Subsystem for Android for debugging
76+
### Connect to the Windows Subsystem for Android™️ for debugging
7777

78-
To connect to the Windows Subsystem for Android VM for debugging:
78+
To connect to the Windows Subsystem for Android™️ VM for debugging:
7979

8080
1. Launch an Android app that was installed using the Amazon Appstore.
8181

@@ -87,9 +87,9 @@ To connect to the Windows Subsystem for Android VM for debugging:
8787
8888
### Connect to a test device
8989
90-
To connect to a test device (with Windows Subsystem for Android installed) on the same network from Windows/Mac:
90+
To connect to a test device (with Windows Subsystem for Android™️ installed) on the same network from Windows/Mac:
9191
92-
1. On the test device (where Windows Subsystem for Android is installed) open a PowerShell window and identify the IP address of the test device by running the command:
92+
1. On the test device (where Windows Subsystem for Android™️ is installed) open a PowerShell window and identify the IP address of the test device by running the command:
9393
9494
```powershell
9595
ipconfig
@@ -111,7 +111,7 @@ While apps should be installed using the Amazon Appstore, debugging an Android a
111111
112112
To debug an APK using adb:
113113
114-
1. Follow the steps to connect to the Windows Subsystem for Android VM above.
114+
1. Follow the steps to connect to the Windows Subsystem for Android™️ VM above.
115115
116116
2. Install the APK using the adb install command: `adb install app-debug.apk`
117117
@@ -126,7 +126,7 @@ To debug an APK using adb:
126126
127127
### Building Universal APKs
128128
129-
Windows Subsystem for Android utilizes Intel Bridge Technology to enable Arm applications on x86 based processors. Arm applications will run on Arm-based processors natively. The emulation layer will induce a performance overhead – for optimal performance, submit your application for both the x86-64 and Arm64 architectures.
129+
Windows Subsystem for Android™️ utilizes Intel Bridge Technology to enable Arm applications on x86 based processors. Arm applications will run on Arm-based processors natively. The emulation layer will induce a performance overhead – for optimal performance, submit your application for both the x86-64 and Arm64 architectures.
130130
131131
## Input compatibility considerations for Windows devices
132132
@@ -199,13 +199,13 @@ Learn more about how to optimize for window resizing scenarios on desktop device
199199
200200
Developing Android applications for a multi-window environment has an impact on the lifecycle events that you choose to utilize in your application. While overriding the `onPause` event may achieve the results you’d like on a phone or tablet, it’s typically the wrong event to use if you’re changing your app’s UX.
201201
202-
See the [Android documentation](https://developer.android.com/guide/components/activities/activity-lifecycle) for a description of the lifecycle events. More often than not, you’ll want to use the `onStop` event and not the `onPause` or `onUserLeaveHint` events. In fact, many multi-window Android implementations do not deliver the `onUserLeaveHint` notification, and thus any business critical logic that might be in that event handler will not be called on these platforms, including Windows Subsystem for Android.
202+
See the [Android documentation](https://developer.android.com/guide/components/activities/activity-lifecycle) for a description of the lifecycle events. More often than not, you’ll want to use the `onStop` event and not the `onPause` or `onUserLeaveHint` events. In fact, many multi-window Android implementations do not deliver the `onUserLeaveHint` notification, and thus any business critical logic that might be in that event handler will not be called on these platforms, including Windows Subsystem for Android™️.
203203
204204
## VM lifecycle considerations
205205
206-
Windows Subsystem for Android utilizes a virtual machine (VM) which provides compatibility with the [AOSP framework](https://source.android.com/) and devices like keyboards, mice, touch, pen, etc.
206+
Windows Subsystem for Android™️ utilizes a virtual machine (VM) which provides compatibility with the [AOSP framework](https://source.android.com/) and devices like keyboards, mice, touch, pen, etc.
207207
208-
There are three possible states for the VM running apps with Windows Subsystem for Android:
208+
There are three possible states for the VM running apps with Windows Subsystem for Android™️:
209209
210210
1. Running
211211
2. Lightweight Doze: Activated after no app activity for 3 minutes. Deactivated by user activity or an app notification.
@@ -217,7 +217,7 @@ Transitions between these states are triggered by user activity, such as launchi
217217
218218
### VM Properties
219219
220-
The properties for the Windows Subsystem for Android VM are listed below. Hardcoding these values is not recommended as that could cause future incompatibilities.
220+
The properties for the Windows Subsystem for Android™️ VM are listed below. Hardcoding these values is not recommended as that could cause future incompatibilities.
221221
222222
| Property | Value |
223223
| --- | --- |
@@ -226,21 +226,36 @@ The properties for the Windows Subsystem for Android VM are listed below. Hardco
226226
| Build.VERSION.SDK_INT | 32 |
227227
| Build.BOARD | windows |
228228
229-
## Security
229+
## Redirect to Windows apps
230+
231+
Windows Subsystem for Android™️ automatically redirects intents for files and common URI schemes to the corresponding Windows default file/protocol handler (if multiple intent filters match, users see a "Windows default app" option in the chooser dialog). Supported file intents include [ACTION_VIEW](https://developer.android.com/reference/android/content/Intent#ACTION_VIEW), [ACTION_EDIT](https://developer.android.com/reference/android/content/Intent#ACTION_EDIT), [ACTION_SEND](https://developer.android.com/reference/android/content/Intent#ACTION_SEND), and [ACTION_SEND_MULTIPLE](https://developer.android.com/reference/android/content/Intent#ACTION_SEND_MULTIPLE), which copy the file to the Windows Downloads folder before opening it. Supported URI intents include [ACTION_VIEW](https://developer.android.com/reference/android/content/Intent#ACTION_VIEW) for the http/https schemes and [ACTION_VIEW](https://developer.android.com/reference/android/content/Intent#ACTION_VIEW) and [ACTION_SENDTO](https://developer.android.com/reference/android/content/Intent#ACTION_SENDTO) for the mailto scheme.
232+
233+
Android apps can also manually redirect to Windows apps using custom URI schemes. Set the intent action to `com.microsoft.windows.LAUNCH_URI` and add a string extra to the intent named `com.microsoft.windows.EXTRA_URI` with the custom URI as the value. For example, to launch the Windows Calculator app from an Android app (Java):
230234
231-
Windows Subsystem for Android performs per-file encryption that is software-based.
235+
```java
236+
Intent intent = new Intent("com.microsoft.windows.LAUNCH_URI");
237+
intent.putExtra("com.microsoft.windows.EXTRA_URI", "ms-calculator:");
238+
239+
try {
240+
startActivity(intent);
241+
} catch (ActivityNotFoundException e) {
242+
// Not running in Windows Subsystem for Android™️ (or running on an older build that did not contain this feature).
243+
}
244+
```
245+
246+
## Security
232247

233248
Both Windows kernel-mode drivers and Windows applications running at medium integrity level (IL) can inspect arbitrary Android containers and Android app memory. There are no plans to add detection for cheats/macro/bot/suspicious behaviors detection in the short-term.
234249

235250
Developers querying `getSecurityLevel` will get `SECURITY_LEVEL_SW_SECURE_CRYPTO`. Learn more about `getSecurityLevel` in the [Android API Reference guide](https://developer.android.com/reference/android/media/MediaDrm#getSecurityLevel(byte[])).
236251

237-
## Uninstalling Windows Subsystem for Android
252+
## Uninstalling Windows Subsystem for Android™️
238253

239-
You can uninstall the Windows Subsystem for Android, but note that all associated apps will also be uninstalled.
254+
You can uninstall the Windows Subsystem for Android™️, but note that all associated apps will also be uninstalled.
240255

241-
- Uninstalling the Amazon Appstore will uninstall the Windows Subsystem for Android and all other Android apps.
256+
- Uninstalling the Amazon Appstore will uninstall the Windows Subsystem for Android™️ and all other Android apps.
242257
- Uninstalling an Amazon Appstore app will only uninstall the app (same behavior as Windows apps).
243-
- Uninstalling the Windows Subsystem for Android will uninstall the Amazon Appstore and all Android apps.
258+
- Uninstalling the Windows Subsystem for Android™️ will uninstall the Amazon Appstore and all Android apps.
244259

245260
## Troubleshooting issues
246261

@@ -254,11 +269,11 @@ If you encounter issues specific to the Amazon Appstore on Windows, try the foll
254269
6. Close the Amazon Appstore Settings window.
255270
7. Relaunch the Amazon Appstore.
256271

257-
For further troubleshooting steps relating to the Windows Subsystem for Android Settings app or to leave feedback using Feedback Hub, see [Troubleshooting and FAQ for mobile apps on Windows](https://support.microsoft.com/windows/d6062afd-98a1-4018-a7c8-6b3b680a2ea5).
272+
For further troubleshooting steps relating to the Windows Subsystem for Android™️ Settings app or to leave feedback using Feedback Hub, see [Troubleshooting and FAQ for mobile apps on Windows](https://support.microsoft.com/windows/d6062afd-98a1-4018-a7c8-6b3b680a2ea5).
258273

259-
For any other developer questions and support, use the [Windows Subsystem for Android tag on Microsoft Q&A](/answers/topics/windows-subsystem-for-android.html).
274+
For any other developer questions and support, use the [Windows Subsystem for Android™️ tag on Microsoft Q&A](/answers/topics/windows-subsystem-for-android.html).
260275

261276
## Additional resources
262277

263278
- [Apps from the Amazon Appstore](https://support.microsoft.com/en-us/windows/apps-from-the-amazon-appstore-abed2335-81bf-490a-92e5-fe01b66e5c48)
264-
- [Accessibility on Windows Subsystem for Android](https://support.microsoft.com/windows/97b77924-6df9-4597-8394-15b6e34d1658)
279+
- [Accessibility on Windows Subsystem for Android™️](https://support.microsoft.com/windows/97b77924-6df9-4597-8394-15b6e34d1658)

hub/apps/design/accessibility/accessibility-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ UI controls use a visual representation that is defined as part of a XAML resour
8282

8383
When you design your apps, consider how they may be used by people with limited mobility, vision, and hearing. Because assistive technology products make extensive use of standard UI, it is particularly important to provide good keyboard and screen-reader support even if you make no other adjustments for accessibility.
8484

85-
In many cases, you can convey essential information by using multiple techniques to widen your audience. For example, you can highlight information using both icon and color information to help users who are color blind, and you can display visual alerts along with sound effects to help users who are hearing impaired.
85+
In many cases, you can convey essential information by using multiple techniques to widen your audience. For example, you can highlight information using both icon and color information to help users who are color blind, and you can display visual alerts along with sound effects to help users who are deaf or hard of hearing.
8686

8787
If necessary, you can provide alternative, accessible user interface elements that completely remove nonessential elements and animations, and provide other simplifications to streamline the user experience. The following code example demonstrates how to display one [**UserControl**](/uwp/api/Windows.UI.Xaml.Controls.UserControl) instance in place of another depending on a user setting.
8888

hub/apps/design/accessibility/system-button-narration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Screen-readers, such as [Narrator](https://support.microsoft.com/help/22798/wind
1616
Beginning with Windows 10 version 2004, UWP applications can listen for and handle the **Fn** hardware system button events in the same way as other hardware buttons. Previously, this system button acted only as a modifier for how other hardware buttons reported their events and state.
1717

1818
> [!NOTE]
19-
> Fn button support is OEM-specific and can include features such as the ability to toggle/lock on or off (vs. a press-and-hold key combination), along with a corresponding lock indicator light (which might not helpful to blind or vision-impaired users).
19+
> Fn button support is OEM-specific and can include features such as the ability to toggle/lock on or off (vs. a press-and-hold key combination), along with a corresponding lock indicator light (which might not be helpful to users who are blind or have a vision impairment).
2020
2121
Fn button events are exposed through a new [SystemButtonEventController Class](/uwp/api/windows.ui.input.systembuttoneventcontroller) in the [Windows.UI.Input](/uwp/api/windows.ui.input) namespace. The SystemButtonEventController object supports the following events:
2222

0 commit comments

Comments
 (0)