microsoft / WSA

Developer-related issues and feature requests for Windows Subsystem for Android
MIT License
1.46k stars 798 forks source link

USB & Bluetooth support in WSA #103

Open bnkoppad opened 1 year ago

bnkoppad commented 1 year ago

Is your feature request related to a problem? Please describe

USB and Bluetooth are marked not supported in Android 12.

Describe the solution you'd like

Hardware interfaces USB, BT on Win11 are required to be accessible in WSA. This shall help point of service android apps support installation on WSA. Consider an Android POS app running on WSA can connect to barcode scanner and print the receipt on successful transaction. Printer can be USB, BT, or network based. Scanner can be BT , USB based.

Could you please enable these features on WSA ?

Describe alternatives you've considered

USB barcode scanner with keywedge mode support works on WSA. But USB printer is not getting detected in WSA. Bluetooth devices are also not detected in WSA

Please specify the version of Windows Subsystem for Android

2207.40000.8.0

kevinkieselbach commented 1 year ago

Hi, thank you for this feature request. This isn't currently on our scheduled roadmap, but we're always listening to the community to prioritize new features.

andrewleader commented 1 year ago

Hi @bnkoppad, we'd love to learn more about your scenarios! Can you give us some more info about your scenarios? Are you running a business that has POS devices that you'd prefer to be Windows-based? Or are you developing POS apps? Thanks!

arlomedia commented 1 year ago

This affects my apps, too. I have two existing music apps that can send and receive MIDI through USB. (I see that the Android MIDI system isn't supported in WSA, but I use a third-party MIDI library as a fallback.)

bnkoppad commented 1 year ago

Hi @bnkoppad, we'd love to learn more about your scenarios! Can you give us some more info about your scenarios? Are you running a business that has POS devices that you'd prefer to be Windows-based? Or are you developing POS apps? Thanks!

Hi @andrewleader We are working with couple of partners, they are into fashion retail and consumer stores. Currently they have POS and display apps used separately. for consolidation, it would be ideal to use - win11 + WSA to run both on single device. Enabling reuse of existing Android POS, digital signage apps directly on WSA benefits than developing it for Windows. POS apps use printers, scanners for their functionality, for which peripheral BT and USB support is required in WSA.

andrewleader commented 1 year ago

@bnkoppad this is exciting to hear! We would love to talk more in depth about your scenarios and learn whether you have any other requirements (like how you would want to deploy apps, hardware requirements of these machines, etc). If you're interested in talking more with us, could you email us at wsa-feedback@microsoft.com? Thank you!!

jake-brown-maps commented 1 year ago

Bluetooth support is a key feature that will allow our app users to utilize external GPS devices. We would be happy to answer any questions or help test.

Jake Brown Product Engineer Esri

andrewleader commented 1 year ago

Hey @jake-brown-maps, it's great to hear from you and ArcGIS! Please also send us an email at wsa-feedback@microsoft.com, we'd love to learn more about your scenarios, for example whether you'll be publishing your app to the Amazon Appstore or how you'd be planning on distributing your app to customers! We'll start reading some more about ArcGIS till we hear from you! Thanks! 😊

chasetec commented 1 year ago

It might be useful to organize the bluetooth request into two distinct requests.

  1. This request for Bluetooth supported via an additional USB device over USB pass-thru. Similar to https://source.android.com/docs/devices/automotive/start/passthrough
  2. https://github.com/microsoft/WSA/issues/90 for Bluetooth support that maps the Android bluetooth stack to the Windows Windows.Devices.Bluetooth Runtime API.

Number 1 is probably much easier to achieve but 2 is the ideal since it would support sharing the Bluetooth hardware already in the system with WSA.

Conor4250 commented 1 year ago

Hi @bnkoppad, we'd love to learn more about your scenarios! Can you give us some more info about your scenarios? Are you running a business that has POS devices that you'd prefer to be Windows-based? Or are you developing POS apps? Thanks!

Hello, another scenario I have (if its any help) is using an app for device management/update (such as the Bose Music app with Bose headphones) that's not available otherwise on Windows.

kaedenbrinkman commented 1 year ago

Bluetooth/BLE support would be awesome. There are a TON of apps out there that use BLE to connect to devices - by adding BLE support it would be possible to do things like:

Asbreuker commented 1 year ago

Is there any update on this?

Robaniro commented 1 year ago

Enabling WSA to access realtime GPS data would in one shot enable all navigation and other position dependent apps. Most laptops uses GPS dongels connected to the USB port for acquiring positiondata. Most apps and dongles uses serial port communication for transferring the position data. Currently the lack of GPS position data leaves all navigation apps useless. I apologize if I have I missed something or if this request has been already addressed in some other forum or thresd?

MinhDluu commented 1 year ago

Hi @bnkoppad, we'd love to learn more about your scenarios! Can you give us some more info about your scenarios? Are you running a business that has POS devices that you'd prefer to be Windows-based? Or are you developing POS apps? Thanks!

Hi @andrewleader We are working with couple of partners, they are into fashion retail and consumer stores. Currently they have POS and display apps used separately. for consolidation, it would be ideal to use - win11 + WSA to run both on single device. Enabling reuse of existing Android POS, digital signage apps directly on WSA benefits than developing it for Windows. POS apps use printers, scanners for their functionality, for which peripheral BT and USB support is required in WSA.

I had the same thinking as you, I currently have an app on Android for retails and consumer store. We are using Android base device, and a lot of our customers want to buy their own device, and they want big-screen devices like windows 11. Right now we use all the connections through ethernet for Windows 11 using WSA. The connection is not that great if the router is down, so we do not really recommend our client buy a PC. It would drastically increase our sale in windows if WSA support direct USB connection for printer, scanner and credit card machine.

thedoctor692 commented 1 year ago

My company has an app that offers setup and visualization of your environmental scientific data taken from instrumentation. Customers pay for consumables and subscription access, and this revenue routes through the app store. But there are certain customers that are only able to use PCs. ESRI, who commented above about this need, and other related GIS type apps offer similar monetization we would take to Windows...

...IF we are able to access local instrumentation via bluetooth and/or USB in WSA. I understand the low-hanging fruit for Microsoft may only be to backdoor a channel to the IAP/F2P game revenue with WSA, but I really think there's revenue potential for Microsoft in the industrial/environmental/POS spaces when local communication with hardware is supported. But, I also speculate Microsoft is worried about kneecapping their own frameworks (like .NET/MAUI) and by proxy weakening their hardware ecosystems if they offer too much functionality in WSA.

I would appreciate a straight answer from Microsoft on this whole issue and how they feel about just targeting game revenue or if they want to expand in the same spaces as iOS/Google Play in industrial/environmental/etc. with WSA.

aronmek commented 1 year ago

Any updates on the real-time GPS request?

kevinkieselbach commented 1 year ago

We are interested in providing Bluetooth support. It's just a matter of finding the right technical solution. Note that for GPS, if your sensor (internal or external) works with the Windows Geolocation APIs, then it will work from WSA regardless of whether WSA can directly access the external GPS device. For example, Surface Pro X devices have internal GPS sensors that provide precise location data to WSA.

thedoctor692 commented 1 year ago

We are interested in providing Bluetooth support. It's just a matter of finding the right technical solution.

That is fantastic news. Can you share what the debate is concerning the right technical solution?

tigercourage commented 1 year ago

We are also struggling with Shopify POS on a tablet next to our PC (therefore using a lot of space on the counter and it's very impractical to type custom orders without a keyboard). Most really good POS systems are for Android and for iOS. We are considering to switch to Mac M1 systems to run iOS apps natively (they support bluetooth and network printers). We need bluetooth for our card readers and barcode scanners. Would be amazing for you guys to add bluetooth and USB/network printer support. I think everyone would love to be able to use a Windows computer (maybe surface pro with touchscreen) as a POS system while keeping computer functionality for Photoshop, full blown Office 365, iTunes etc. Would be AMAZING.

ewaerp commented 11 months ago

We need also USB support for Printer and Smart Card Reader for our POS app.

aspicasillas commented 10 months ago

Hello everyone.

It would be very interesting to provide USB connectivity and support for the serial port.

I want to use an oscilloscope app (Scoopy) without having to use a 10'' tablet or having to install Android-x86 on a physical machine to make it work smoothly.

Finding a way to run apks directly in windows made me very happy, but disappointed to see that it doesn't detect the device via USB (Raspberry Pi Pico with serial port emulation).

Greetings from Murcia, Spain.

Chake96 commented 9 months ago

Adding my support for the USB support request. I'd love to use my Surface to fly my drone. WSA getting USB support would allow me to connect my surface to the physical controller.

PA1ANT commented 8 months ago

The Ham-radio community, use many times CAT control for their radios. For example pRxTx Pro. Would be great if this works via WSA.

Espionage724 commented 8 months ago

I've had various connectivity issues with Android and iOS with a Meta Quest 2 headset and their mobile app, and was curious to try it from WSA. I figured I'd check if Bluetooth with WSA was supported first, and now I'm here :p

This would be neat to be able to activate new Meta Quest headsets as they require the mobile app (and thus a phone/device) for a few minutes during initial set-up.

prithwi-raj commented 7 months ago

Adding support for Bluetooth and USB peripherals like printers, scanners, or GPS sensors would be a game changer for WAS in Windows. Looking forward to getting updates on this issue. I would also love to help with the technical challenges of incorporating this in WSA.

TylerMurali commented 7 months ago

We have an android app that supports police officers and fire fighters. GPS in vehicle tracking and barcode scanning to scan the driver licenses is a key feature. Having the ability to read from an external USB device is very key for us to use WSA widely.

odemiral commented 7 months ago

We have an android app for the search and rescue market used by fire fighters and rescue specialist, WSA BLE support is the only thing that's stopping us from supporting Windows which many of the specialists and incident command centers use.

jsodev93 commented 7 months ago

Hello community, I have an Android application that works with a thermal printer via Bluetooth, Wi-Fi and USB, and also with a barcode reader. I managed to connect the reader to the WSA and when scanning the normal product it recognized it, as for the ticket, I was able to print via Wi-Fi, but I still can't do it via USB and Bluetooth, and I need these two means. My app link: https://play.google.com/store/apps/details?id=pe.codelab.mobifact

thebbbrain commented 6 months ago

This feature is generally needed for multiple reasons!!!

Philaupatte commented 6 months ago

Hi, I do confirm that bluetooth network is an absolute need within WSA to use application controlling and/or using network peripheral devices such as printers, tabs, ... for sure but as well sound speakers, audio mixer and so on. Many many thanks to take in consideration this request.

thedoctor692 commented 6 months ago

@kevink

We are interested in providing Bluetooth support. It's just a matter of finding the right technical solution. Note that for GPS, if your sensor (internal or external) works with the Windows Geolocation APIs, then it will work from WSA regardless of whether WSA can directly access the external GPS device. For example, Surface Pro X devices have internal GPS sensors that provide precise location data to WSA.

Is Microsoft/WSA still even considering this feature? this is one of the most commented and requested features for WSA, but the ominous lack of release updates since October after them being regular on the month until then makes me think this is abandoned.

Perez776 commented 6 months ago

I also need this to use a usb printer and bluetooth card reader. I think it's really difficult to implement this. I've noticed many android emulators (such as bluestacks) also say that they will take these features into consideration, but none so far have been able to implement them. Hopefully someone figures it out.

drygoatair commented 4 months ago

Bluetooth support would be great, even if I'd had to buy a separate BT adapter.

horhokokki commented 4 months ago

And what is the point of emulator, if you cant use them with anything other than just run some app .. Easier to plug the talet or åhpne to dsplay than try to use these "emulators" which cant use any peripheriels of your computer. But I will try the samsung phone link one more time.. and if I can found device with android12 without tapping some button to allow stream... what the hell is that too.. start stream and then you must go to your phone to tap some button, just a big joke with these new android versions.

Rainringgoaway commented 4 months ago

wait for support.

dbelleba commented 4 months ago

Up vote please, WSA without the ability to connect devices is like a cruel joke.

ChengFPL7882 commented 4 months ago

We need it.

brunoherrera commented 4 months ago
  • Control a GoPro or other camera from your laptop, have a larger viewing screen

I need this, I was just trying to do this right now

please!!!!!!

Diapergravy commented 4 months ago

Hi, thank you for this feature request. This isn't currently on our scheduled roadmap, but we're always listening to the community to prioritize new features.

Diapergravy commented 4 months ago

This feature would be awesome for my JBL 230NC headphones with the JBL my headphone app please make this feature a must.

horhokokki commented 4 months ago

". This isn't currently on our scheduled roadmap, but we're always listening to the community to prioritize new features."

Request started from November 2022 and stiill not in roadmap andyou are listening?? Maybe you have wrong channnel what you are listening??

Chake96 commented 4 months ago

Well this is a massive disappointment and I hope they open source the entire project. Literally the only reason I got a surface was for WSL and WSA support (emphasis on WSA for the tablet functionality) https://www.theverge.com/2024/3/5/24091370/microsoft-windows-11-android-apps-end-of-support

thedoctor692 commented 4 months ago

What a pleasant reminder that Microsoft is not a company to trust on new feature development. A complete Google moment.

F1nch1330 commented 4 months ago

Bluetooth support you say? USB? Uhhh how about we scrap the whole project and you can support these nuts. -Microsoft

MrT-tak commented 3 months ago

Seriously, was this project so hard, Microsoft? is there any third-party libraries that support Bluetooth? I want to use an app to control my Sony Headphones ....

inoyakaigor commented 3 months ago

@MrT-tak they are stopping the development of WSA. Next year it will be delete. Check out the readme

MrT-tak commented 3 months ago

@inoyakaigor thx for replying, I just want to know if there is a third party solution. Thx

brunoherrera commented 3 months ago

@inoyakaigor thx for replying, I just want to know if there is a third party solution. Thx

there is, MustardChef/WSABuilds

"This repo will not be archived and support will still be given to any users installing WSA Builds from this repo. Thank you all for using this repository and supporting my work, its been a pleasure serving this community."

jwhipp commented 3 months ago

there is, MustardChef/WSABuilds

MustardChef's builds don't offer Bluetooth support either. But they are far better than the stock one MS was providing for other reasons.

MrT-tak commented 3 months ago

That’s why I was wondering since I use it anyway, I hope Bluetooth gets supported by mustardchefs/wsabuilds … 🤞🤞🤞🤞

alexander-denev commented 1 month ago

Hi, thank you for this feature request. This isn't currently on our scheduled roadmap, but we're always listening to the community to prioritize new features.

You're a laughing stock