How to use android emulator for testing bluetooth application? -


i developing application send request bluetooth printer printing. code working fine real devices, want run on android emulator. how can use emulator bluetooth testing?

you can't. emulator not support bluetooth, mentioned in sdk's docs , several other places. android emulator not have bluetooth capabilities".

you can use real devices.

emulator limitations

the functional limitations of emulator include:

  • no support placing or receiving actual phone calls. however, can simulate phone calls (placed , received) through emulator console
  • no support usb
  • no support device-attached headphones
  • no support determining sd card insert/eject
  • no support wifi, bluetooth, nfc

refer documentation


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -