<?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 Re: Load tiff map in Android Paltform in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/load-tiff-map-in-android-paltform/m-p/697691#M4883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like your emulator can't find the image file. Which makes sense, because the emulator doesn't know anything about your desktop's file system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your code, "&lt;SPAN class="" style="color: #333333; background-color: #ffffff;"&gt;Environment&lt;/SPAN&gt;&lt;SPAN class="" style="color: #a71d5d; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;getExternalStorageDirectory()" will give you your&amp;nbsp;emulator's SD&amp;nbsp;card root location&amp;nbsp;(/storage/emulated/0 .... &amp;nbsp;or often just /sdcard/). If you want the emulator to find your image file there, you can &amp;nbsp;'push' your file from your desktop location to your emulator's virtual drive. Open a command window and use the adb command (found in your android SDK home) as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;adb&amp;nbsp;-s &amp;lt;emulator name&amp;gt; push &lt;EM&gt;&amp;lt;local file on desktop&amp;gt; &amp;lt;remote file on emulator's sdcard&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;adb &lt;SPAN&gt;-s &amp;lt;your emulator's name&amp;gt;&amp;nbsp;&lt;/SPAN&gt;push c:\images\my.tiff /sdcard/my.tiff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, you may need to refresh or restart your emulator. After that, your code should find your image file correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope this helps you.&amp;nbsp;&lt;/SPAN&gt;&lt;A class="link-titled" href="https://developer.android.com/studio/command-line/adb.html" title="https://developer.android.com/studio/command-line/adb.html"&gt;Android Debug Bridge | Android Studio&lt;/A&gt;&amp;nbsp;- this is a cool adb commandline reference, by the way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2016 23:30:53 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2016-12-28T23:30:53Z</dc:date>
    <item>
      <title>Load tiff map in Android Paltform</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/load-tiff-map-in-android-paltform/m-p/697690#M4882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using ArcGIS SDK for Android application, i have integrated with my android studio and created the new project.&lt;/P&gt;&lt;P&gt;I want to load tiff file from my desktop folder and the path has given in code as per ESRI referred link. But&amp;nbsp;after compiling the project it throws null pointer exception and i am seeing empty emulator with out map. can you please suggest where is the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have attached the screenshot for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 07:10:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/load-tiff-map-in-android-paltform/m-p/697690#M4882</guid>
      <dc:creator>vijaybasker</dc:creator>
      <dc:date>2016-12-28T07:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load tiff map in Android Paltform</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/load-tiff-map-in-android-paltform/m-p/697691#M4883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like your emulator can't find the image file. Which makes sense, because the emulator doesn't know anything about your desktop's file system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your code, "&lt;SPAN class="" style="color: #333333; background-color: #ffffff;"&gt;Environment&lt;/SPAN&gt;&lt;SPAN class="" style="color: #a71d5d; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;getExternalStorageDirectory()" will give you your&amp;nbsp;emulator's SD&amp;nbsp;card root location&amp;nbsp;(/storage/emulated/0 .... &amp;nbsp;or often just /sdcard/). If you want the emulator to find your image file there, you can &amp;nbsp;'push' your file from your desktop location to your emulator's virtual drive. Open a command window and use the adb command (found in your android SDK home) as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;adb&amp;nbsp;-s &amp;lt;emulator name&amp;gt; push &lt;EM&gt;&amp;lt;local file on desktop&amp;gt; &amp;lt;remote file on emulator's sdcard&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;adb &lt;SPAN&gt;-s &amp;lt;your emulator's name&amp;gt;&amp;nbsp;&lt;/SPAN&gt;push c:\images\my.tiff /sdcard/my.tiff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, you may need to refresh or restart your emulator. After that, your code should find your image file correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope this helps you.&amp;nbsp;&lt;/SPAN&gt;&lt;A class="link-titled" href="https://developer.android.com/studio/command-line/adb.html" title="https://developer.android.com/studio/command-line/adb.html"&gt;Android Debug Bridge | Android Studio&lt;/A&gt;&amp;nbsp;- this is a cool adb commandline reference, by the way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 23:30:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/load-tiff-map-in-android-paltform/m-p/697691#M4883</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2016-12-28T23:30:53Z</dc:date>
    </item>
  </channel>
</rss>

