Using the Google Cloud Print API with Android

后端 未结 3 1099
無奈伤痛
無奈伤痛 2020-12-24 09:08

I am working on an android application that needs to print to a printer. I decided on using the Google Cloud Print, as it seemed easy to set up. Initially, I followed the st

3条回答
  •  悲&欢浪女
    2020-12-24 09:32

    Answering the question with a bit of an update. As of October 2013, in 4.4 and the support library, there are built in methods to handle printing. See the following documentation for how to do it properly:

    • PrintHelper - The support Library class to help with printing Bitmaps.
    • DevBytes: Android 4.4 Printing API - An Android Developers video detailing the APIs
    • Printing Content - An Android Training guide on how to use these APIs.

提交回复
热议问题