Android Cloud Printing with No Dialogs

一世执手 提交于 2020-01-02 00:54:12

问题


I'm developing a kiosk type Android app and would like to add printing capability. Since it's a kiosk app, the less prompts/pop-ups the users have to do, the better.

I was able to get the new Google Cloud Printing successfully going in my Android app but there are a few screens the users need to go through before printing can happen.
I was wondering if anyone has any ideas on how to have things print automatically with no dialogs, the idea would be to pass whatever user selections are needed (paper size, orientation, etc) from preferences.


回答1:


Exact same problem we have! Silently printing without a dialog for my kiosk app, and printing the image to a pre-selected physical size. Both of these are not possible through the platform API, so we built our own library for it: http://www.groundupworks.com/wings/



来源:https://stackoverflow.com/questions/11464233/android-cloud-printing-with-no-dialogs

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