Joe Fernandez | 84fe617 | 2013-10-29 01:55:12 -0700 | [diff] [blame] | 1 | page.title=Printing Content |
| 2 | page.tags="print","navigation","gesturedetector","scroller" |
| 3 | |
| 4 | trainingnavtop=true |
| 5 | startpage=true |
| 6 | @jd:body |
| 7 | |
| 8 | <div id="tb-wrapper"> |
| 9 | <div id="tb"> |
| 10 | |
| 11 | <h2>Dependencies and prerequisites</h2> |
| 12 | |
| 13 | <ul> |
| 14 | <li>Android 4.4 (API Level 19) or higher</li> |
| 15 | </ul> |
| 16 | |
| 17 | </div> |
| 18 | </div> |
| 19 | |
Scott Main | 64fedb7 | 2013-11-12 09:12:38 -0800 | [diff] [blame] | 20 | <a class="notice-developers-video wide" href="http://www.youtube.com/watch?v=Iub67ic87KI"> |
| 21 | <div> |
| 22 | <h3>Video</h3> |
| 23 | <p>DevBytes: Android 4.4 Printing API</p> |
| 24 | </div> |
| 25 | </a> |
| 26 | |
Joe Fernandez | 84fe617 | 2013-10-29 01:55:12 -0700 | [diff] [blame] | 27 | <p> |
| 28 | Android users frequently view content solely on their devices, but there are times when |
| 29 | showing someone a screen is not an adequate way to share information. Being able to print |
| 30 | information from your Android application gives users a way to see a larger version of the |
| 31 | content from your app or share it with another person who is not using your application. |
| 32 | Printing also allows them to create a snapshot of information that does not depend on having a |
| 33 | device, sufficient battery power, or a wireless network connection. |
| 34 | </p> |
| 35 | |
| 36 | <p> |
| 37 | In Android 4.4 (API level 19) and higher, the framework provides services for printing images and |
| 38 | documents directly from Android applications. This training describes how to enable printing in |
| 39 | your application, including printing images, HTML pages and creating custom documents for |
| 40 | printing. |
| 41 | </p> |
| 42 | |
| 43 | |
| 44 | <h2>Lessons</h2> |
| 45 | |
| 46 | <dl> |
| 47 | <dt> |
| 48 | <strong><a href="photos.html">Printing a Photo</a></strong> |
| 49 | </dt> |
| 50 | <dd>This lesson shows you how to print an image.</dd> |
| 51 | |
| 52 | <dt> |
| 53 | <strong><a href="html-docs.html">Printing an HTML Document</a></strong> |
| 54 | </dt> |
| 55 | <dd>This lesson shows you how to print an HTML document.</dd> |
| 56 | |
| 57 | <dt> |
| 58 | <strong><a href="custom-docs.html">Printing a Custom Document</a></strong> |
| 59 | </dt> |
| 60 | <dd>This lesson shows you how you connect to the Android print manager, create a print adapter |
| 61 | and build content for printing.</dd> |
| 62 | </dl> |
| 63 | |
| 64 | |