Hide Android KitKat 4.4 printing dialog

心不动则不痛 提交于 2019-11-30 15:17:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!