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 20 <p> 21 Android users frequently view content solely on their devices, but there are times when 22 showing someone a screen is not an adequate way to share information. Being able to print 23 information from your Android application gives users a way to see a larger version of the 24 content from your app or share it with another person who is not using your application. 25 Printing also allows them to create a snapshot of information that does not depend on having a 26 device, sufficient battery power, or a wireless network connection. 27 </p> 28 29 <p> 30 In Android 4.4 (API level 19) and higher, the framework provides services for printing images and 31 documents directly from Android applications. This training describes how to enable printing in 32 your application, including printing images, HTML pages and creating custom documents for 33 printing. 34 </p> 35 36 37 <h2>Lessons</h2> 38 39 <dl> 40 <dt> 41 <strong><a href="photos.html">Printing a Photo</a></strong> 42 </dt> 43 <dd>This lesson shows you how to print an image.</dd> 44 45 <dt> 46 <strong><a href="html-docs.html">Printing an HTML Document</a></strong> 47 </dt> 48 <dd>This lesson shows you how to print an HTML document.</dd> 49 50 <dt> 51 <strong><a href="custom-docs.html">Printing a Custom Document</a></strong> 52 </dt> 53 <dd>This lesson shows you how you connect to the Android print manager, create a print adapter 54 and build content for printing.</dd> 55 </dl> 56 57 58