Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bluetooth support on Android Emulator

I want to know if the developer team which made the emulator have some information to make bluetooth work in the Android emulator, indicate some links about it, if they have some date for release or if they'll make it works in the future.

like image 891
John Avatar asked Mar 05 '10 03:03

John


People also ask

Does NOX support Bluetooth?

Does Nox Player Support Bluetooth? As of now, NoxPlayerr only supports USB connection, but does not connect to the Bluetooth network. Set up the computer settings to ensure that the controller is seated correctly on your computer.

Does BlueStacks have Bluetooth support?

BlueStacks does not support the Bluetooth sensors inside your PC. Hence, all apps which require control of Bluetooth or infrared sensors may not work on BlueStacks.

Which Android emulator for Mac supports Bluetooth?

Which Emulator Has Bluetooth? BlueStacks can now be used with Nox player android emulators.

Does LD player have Bluetooth?

Can Ldplayer Use Bluetooth? The LDPlayer offers the ability for you to use your talent to play games with PC controller controlled by our gamepad controller. Secondly, you should connect the console to your computer by USB or Bluetooth and switch the connection to Android mode when connected.


1 Answers

as far as I know there is no support in the emulator for bluetooth. And I will have to teach android and bluetooth in some classes. And the students will need to code stuff and test (guess it) in the android emulator.

So I came up with a bare-bone reimplementation of the android bluetooth API on top of tcp. You can find it on here on github.

Basically, you run a tcp-server on your machine, and the emulators will connect through it. Instead of using the classes in the package android.bluetooth, you just need to use the classes in the package dk.itu.android.bluetooth (and other 2 little modifies).

As for now it supports:

  • switch on/off the "radio"
  • discovery devices (only other android emulators)
  • creating bluetooth services
  • connecting to bluetooth services

It's not much, but until we got some more from the android guys, I guess there is nothing else around.

Hope it'll be useful, cheers!

like image 107
cheng81 Avatar answered Oct 06 '22 23:10

cheng81