<?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 ArcGIS Runtime SDK for Android in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-runtime-sdk-for-android/m-p/118169#M889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are researching ways to programmatically capture a screenshot of the map view using ArcGIS Runtime SDK for Android and the image is returning a black screen without the map layer.&amp;nbsp; We are seeing other elements such as Title Bar, map buttons, North Arrow image, although, the basemap/aerial imagery, ie. any layer turned on, does not display.&amp;nbsp; Is there anyone familiar with capturing android device screenshots programmatically using android/java and the integrated ArcGIS Runtime SDK for Android?&amp;nbsp; Thanks for your help and input!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jan 2016 17:38:33 GMT</pubDate>
    <dc:creator>CenterlineMapping</dc:creator>
    <dc:date>2016-01-04T17:38:33Z</dc:date>
    <item>
      <title>ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-runtime-sdk-for-android/m-p/118169#M889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are researching ways to programmatically capture a screenshot of the map view using ArcGIS Runtime SDK for Android and the image is returning a black screen without the map layer.&amp;nbsp; We are seeing other elements such as Title Bar, map buttons, North Arrow image, although, the basemap/aerial imagery, ie. any layer turned on, does not display.&amp;nbsp; Is there anyone familiar with capturing android device screenshots programmatically using android/java and the integrated ArcGIS Runtime SDK for Android?&amp;nbsp; Thanks for your help and input!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 17:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-runtime-sdk-for-android/m-p/118169#M889</guid>
      <dc:creator>CenterlineMapping</dc:creator>
      <dc:date>2016-01-04T17:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-runtime-sdk-for-android/m-p/118170#M890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm. Interesting. I like this kind of file i/o stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, there isn't currently an API in our Android SDK that exports the contents of a MapView to a file. There is in the Java SDK, but not Android.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you may want to try is something like what is found here on StackOverflow: &lt;A href="http://stackoverflow.com/questions/2174875/image-on-canvas-to-jpeg-file" title="http://stackoverflow.com/questions/2174875/image-on-canvas-to-jpeg-file"&gt;http://stackoverflow.com/questions/2174875/image-on-canvas-to-jpeg-file&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;Basically, you can draw the contents of the MapView to an off-screen mutable bitmap, (I hope), which can be written to the device. Worth a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 00:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-runtime-sdk-for-android/m-p/118170#M890</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2016-01-05T00:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Runtime SDK for Android</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-runtime-sdk-for-android/m-p/118171#M891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We currently use the following code to generate the view and both generate black screens rather than the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View v2 = (&lt;SPAN style="background-color: #e4e4ff;"&gt;MapView&lt;/SPAN&gt;) findViewById(R.id.&lt;SPAN style="color: #660e7a; font-weight: bold; font-style: italic;"&gt;map&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;View v1 = getWindow().getDecorView().getRootView();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will look into the Java SDK and hopefully find a solution.&amp;nbsp; Let me know if you or anyone on your team find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 19:35:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/arcgis-runtime-sdk-for-android/m-p/118171#M891</guid>
      <dc:creator>CenterlineMapping</dc:creator>
      <dc:date>2016-01-06T19:35:36Z</dc:date>
    </item>
  </channel>
</rss>

