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/android/wsa/index.md
+41-26Lines changed: 41 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
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.
4
4
author: mattwojo
5
5
ms.author: mattwoj
6
6
ms.reviewer: mousma
@@ -31,7 +31,7 @@ This guide can help you test and debug your Android app on Windows:
31
31
32
32
## Developer GitHub
33
33
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).
35
35
36
36
## Preview Program
37
37
@@ -43,16 +43,16 @@ To test your Android app in the Windows desktop environment, a bit of set up wil
43
43
44
44
### Prerequisites
45
45
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).
47
47
48
48
### Install the Amazon Appstore
49
49
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:
51
51
52
52
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.
53
53
2. Install an Android app from the Microsoft Store for the first time, which will also install the Amazon Appstore.
54
54
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.
56
56
57
57

58
58
@@ -61,21 +61,21 @@ The **Amazon Appstore** app will then appear in the Windows 11 Start menu and be
61
61
62
62
## Windows Subsystem for Android™️ Settings
63
63
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).
65
65
66
66

67
67
68
68
## Test and debug
69
69
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.
71
71
72
72
### Enable developer mode in Windows Settings
73
73
74
74
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**.
75
75
76
-
### Connect to the Windows Subsystem for Android for debugging
76
+
### Connect to the Windows Subsystem for Android™️ for debugging
77
77
78
-
To connect to the Windows Subsystem for Android VM for debugging:
78
+
To connect to the Windows Subsystem for Android™️ VM for debugging:
79
79
80
80
1. Launch an Android app that was installed using the Amazon Appstore.
81
81
@@ -87,9 +87,9 @@ To connect to the Windows Subsystem for Android VM for debugging:
87
87
88
88
### Connect to a test device
89
89
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:
91
91
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:
93
93
94
94
```powershell
95
95
ipconfig
@@ -111,7 +111,7 @@ While apps should be installed using the Amazon Appstore, debugging an Android a
111
111
112
112
To debug an APK using adb:
113
113
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.
115
115
116
116
2. Install the APK using the adb install command: `adb install app-debug.apk`
117
117
@@ -126,7 +126,7 @@ To debug an APK using adb:
126
126
127
127
### Building Universal APKs
128
128
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.
130
130
131
131
## Input compatibility considerations for Windows devices
132
132
@@ -199,13 +199,13 @@ Learn more about how to optimize for window resizing scenarios on desktop device
199
199
200
200
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.
201
201
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™️.
203
203
204
204
## VM lifecycle considerations
205
205
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.
207
207
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™️:
209
209
210
210
1. Running
211
211
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
217
217
218
218
### VM Properties
219
219
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.
221
221
222
222
| Property | Value |
223
223
| --- | --- |
@@ -226,21 +226,36 @@ The properties for the Windows Subsystem for Android VM are listed below. Hardco
226
226
| Build.VERSION.SDK_INT | 32 |
227
227
| Build.BOARD | windows |
228
228
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):
230
234
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");
// Not running in Windows Subsystem for Android™️ (or running on an older build that did not contain this feature).
243
+
}
244
+
```
245
+
246
+
## Security
232
247
233
248
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.
234
249
235
250
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[])).
236
251
237
-
## Uninstalling Windows Subsystem for Android
252
+
## Uninstalling Windows Subsystem for Android™️
238
253
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.
240
255
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.
242
257
- 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.
244
259
245
260
## Troubleshooting issues
246
261
@@ -254,11 +269,11 @@ If you encounter issues specific to the Amazon Appstore on Windows, try the foll
254
269
6. Close the Amazon Appstore Settings window.
255
270
7. Relaunch the Amazon Appstore.
256
271
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).
258
273
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).
260
275
261
276
## Additional resources
262
277
263
278
-[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)
Copy file name to clipboardExpand all lines: hub/apps/design/accessibility/accessibility-overview.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
@@ -82,7 +82,7 @@ UI controls use a visual representation that is defined as part of a XAML resour
82
82
83
83
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.
84
84
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.
86
86
87
87
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.
Copy file name to clipboardExpand all lines: hub/apps/design/accessibility/system-button-narration.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
@@ -16,7 +16,7 @@ Screen-readers, such as [Narrator](https://support.microsoft.com/help/22798/wind
16
16
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.
17
17
18
18
> [!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).
20
20
21
21
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:
0 commit comments