I am working on a kiosk app which needs to print. I have the printing functionality working but the problem is it shows a dialog and as a kiosk app we need to keep things simple and limit what users can do.
Is there a way to print without showing the dialog?
I don't care if it prints to the "default" printer or if it's something I'll need to pass parameters into.
I used this for reference: http://developer.android.com/training/printing/html-docs.html
来源:https://stackoverflow.com/questions/20005975/hide-android-kitkat-4-4-printing-dialog