The ability to output a hard copy of your content can be a necessity for some ticketing and travel apps. However, it can also be an often overlooked and useful feature to enhance accessibility. Allowing your help to be printed is a quick win that can improve usability.
You can access the system printing framework through the PrintManager . To print, your app needs to generate a PDF version of your content, fortunately there are also PrintHelper  classes to generate PDFs from Images and Web Pages. For example, for images:
PrintHelper bitmapPrinter = new PrintHelper(getActivity());
Bitmap bitmap = BitmapFactory.decodeResource(getResources(),
For printing HTML content or the contents of a WebView you can request a PrintDocumentAdapter from the WebView and pass it to a PrintManager:
PrintManager printManager = (PrintManager) getActivity()
The most flexible approach to printing is to use the PdfDocument  class, create a new page, request its Canvas using getCanvas() and then render your content using the drawing apis onto the Canvas.
In all these cases the user is taken through a clean and consistent flow for selecting a printer, the print options and printing the content.
As Printing was introduced in API 19 you should use API gating techniques to avoid the option appearing in your app on earlier versions of Android, for this the /res/menu-v19 folder can be a useful tool.
We also have a training classes  and a DevByte  on Printing.
 DevBytes: Android 4.4 Printing API
- Hewlett-PackardSoftware Design Engineer, 2008 - 2013
- T&T Engenheiros Associados Ltda.2006 - 2008
- Sicred Informática Ltda.2002 - 2005
- W32000 - 2002
- UOL International1999 - 2000
- Sterling Software Intl.1989 - 1992
Innovation is present in his life since the early days of college.
Back in 1981, at the time, 18 years old, he designed, developed and prototyped a conveyor belt electronic servo control system, to provide automatic load balance of the engines power according to the load applied to the conveyor belt.
Recently, Miguel proactively led innovation projects to potentially increase the company software solutions share, attracting more users to buy and use the company´s products and software tools. Miguel´s idea was backed by upper leadership team and is now being followed-up by other teams in the US.
- Instituto Industrial Luis A.Huergo
- British Culture Association (Buenos Aires, Argentina)