Yesterday, I download your sample, and run it in a Motorola G Play Cellphone (is some little oldie) with Android 7.1.1 and with a MZ220 Zebra printer, and I execute it and runs good.
Now I will change the program replacing your lines with ZPL code commands and to see if it works.
As soon I have the tests I'll inform you how was it.
@Bladimir Silva Toro.....Grandes y buenas noticias, utilizando tu aplicación pude mandar el contenido de un archivo ZPL a una impresora Zebra modelo ZD420 a través de Bluetooth
Con todo gusto, te platico que fue lo que hice, si gustas organizamos un webconference para comentarte.
Adjunto tu codigo modificado con comandos ZPL
Saludos!
Bladimir, Greaaattt newsssss!!!!!.....using your sample code I send ZPL commands from a file to a Zebra model ZD420 via Bluetooth.
I'm very glad to explain you how I did it. We can make a webconference and explain you, any time.
I attached your code with zpl commands.
Greetings Friend!.