I have problems in the development of my app for the ZD421, when compiling and testing the bluetooth connection, it does not locate the printer. I tried with other printers (ZT411) and it manages to connect and print via bluetooth. Any solution or advice?
Problems with the 'ZSDK_ANDROID_API.jar' library, it can't print via bluetooth on ZD421, any solution or advice?// Expert user has replied. |
3 Replies
Do you mean that you can not discover the printers via the BluetoothDiscoverer.findPrinters()? If that's the case and the app is on Android 10 or higher, additional steps for the location permission are required. See this article for details: Link-OS SDK for Android | Permissions and Bluetooth API.
Exactly, I can't find the ZD421 printer via bluetooth. I tried with a ZT411 and it did get the connection. About the required permissions, they are added, you can see at the attachment.
Make sure that the ZD421 has Bluetooth classic. The default configuration for the ZD421 is Bluetooth Low Energy only. If it doesn't have Bluetooth classic, the app won't be able to find or connect to the Bluetooth classic.