<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PDF export/printing from Esri Android MapView in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/pdf-export-printing-from-esri-android-mapview/m-p/202518#M1348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for any documentation, Esri or otherwise, that could help me understand how best to approach developing a tool to create a .pdf and/or print an Esri Android map control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri has a native .NET &lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/master/src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/Printing"&gt;sample &lt;/A&gt;that demonstrates client printing, but there are quite a few gotchas in applying that approach to Android...I think the general approach of creating taking the on-screen MapView and creating from that a printable MapView translates pretty well. However, the next steps in the .NET sample delegates control to the System PrintDialog which ain't gonna get me too far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in, primarily, generating a .pdf from the MapView. Secondarily, I am also interested in standard approaches for actually printing to a printer. I have done a bit of poking, and finding zero specific to Esri. I am interested in client solutions that will work without a connection to an ArcGIS Server print service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Cory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2014 21:47:18 GMT</pubDate>
    <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
    <dc:date>2014-10-27T21:47:18Z</dc:date>
    <item>
      <title>PDF export/printing from Esri Android MapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/pdf-export-printing-from-esri-android-mapview/m-p/202518#M1348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for any documentation, Esri or otherwise, that could help me understand how best to approach developing a tool to create a .pdf and/or print an Esri Android map control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esri has a native .NET &lt;A href="https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/master/src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/Printing"&gt;sample &lt;/A&gt;that demonstrates client printing, but there are quite a few gotchas in applying that approach to Android...I think the general approach of creating taking the on-screen MapView and creating from that a printable MapView translates pretty well. However, the next steps in the .NET sample delegates control to the System PrintDialog which ain't gonna get me too far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in, primarily, generating a .pdf from the MapView. Secondarily, I am also interested in standard approaches for actually printing to a printer. I have done a bit of poking, and finding zero specific to Esri. I am interested in client solutions that will work without a connection to an ArcGIS Server print service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Cory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 21:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/pdf-export-printing-from-esri-android-mapview/m-p/202518#M1348</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2014-10-27T21:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: PDF export/printing from Esri Android MapView</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/pdf-export-printing-from-esri-android-mapview/m-p/202519#M1349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is what I found for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use &lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/android/map/MapView.html#getDrawingMapCache(float, float, int, int)"&gt;MapView.getDrawingMapCache&lt;/A&gt;() to get a bitmap from your MapView.&lt;/P&gt;&lt;P&gt;2. Add the bitmap to an android &lt;A href="https://developer.android.com/reference/android/graphics/pdf/PdfDocument.html"&gt;PdfDocument&lt;/A&gt; and print it using the native android print API&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This link goes into great detail about your options for this: &lt;A href="http://www.techotopia.com/index.php/An_Android_Custom_Document_Printing_Tutorial"&gt;An Android Custom Document Printing Tutorial&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-Cory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 13:40:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/pdf-export-printing-from-esri-android-mapview/m-p/202519#M1349</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2014-10-28T13:40:35Z</dc:date>
    </item>
  </channel>
</rss>

