Is it possible to create an andorid application that can simulate a Bluetooth device? I want to make Android OS think that it is connected to a Bluetooth device that is actually modeled by my application.
Scenario: the user installs my application, and voilà, my virtual Bluetooth device, is actually a printer. I need it to work on undisturbed devices.
Reason: some guys are too lazy to support other bluetooth printers, so I want to simulate a supported bluetooth printer and print the data on another bluetooth printer.
FYI: I did not find it impossible. I know that the emulator cannot mimic it, but the ShadowBluetoothAdapter from robolectric can.
source
share