<?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: Exception while reading geodatabase file in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367067#M2414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;It's probably best to get your path in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;Environment.getExternalStorageDirectory().getPath() + "/warnl.gdb".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can take a look at a local data sample to see how this is used, something like in the Local MBTiles example: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://developers.arcgis.com/android/sample-code/local-mbtiles/" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/android/sample-code/local-mbtiles/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Sep 2015 06:17:20 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2015-09-05T06:17:20Z</dc:date>
    <item>
      <title>Exception while reading geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367064#M2411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; font-size: 15px; color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;i am trying to read geodatabase file (.gdb) and use it to get one of its GeodatabaseFeatureTables to load it to the map. However while creating its object, it's throwing "some kind of disk I/O error occurred " exception. I think this exception is related to SQLite error. Can anyone say why this exception is being thrown?&lt;/P&gt;&lt;HR style="color: #dddddd; margin-bottom: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; background-color: #dddddd;" /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="kwd" style="color: #00008b;"&gt;try&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; 
&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; geodatabase &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Geodatabase&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;sdcardPath&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;+&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;gdbFilePath&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; 
&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; 
&lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b;"&gt;catch&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #2b91af;"&gt;Exception&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; e&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;)
{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; e&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;printStackTrace&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;();&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; 
&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:03:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367064#M2411</guid>
      <dc:creator>rahulkumar4</dc:creator>
      <dc:date>2021-12-11T17:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while reading geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367065#M2412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share what your sdcardPath and gdbFilePath values look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 20:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367065#M2412</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-09-04T20:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while reading geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367066#M2413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My sd card path is&lt;STRONG&gt; /sdcard/emulated/0/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;gdb file path is &lt;STRONG&gt;warnl.gdb&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the paths are valid and they exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2015 03:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367066#M2413</guid>
      <dc:creator>rahulkumar4</dc:creator>
      <dc:date>2015-09-05T03:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while reading geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367067#M2414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;It's probably best to get your path in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;Environment.getExternalStorageDirectory().getPath() + "/warnl.gdb".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can take a look at a local data sample to see how this is used, something like in the Local MBTiles example: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://developers.arcgis.com/android/sample-code/local-mbtiles/" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/android/sample-code/local-mbtiles/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2015 06:17:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367067#M2414</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-09-05T06:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while reading geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367068#M2415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;I did the same way before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String mGeoDbfilePath = "&lt;SPAN style="color: #333333; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12px; background-color: #fafafa;"&gt;warnl&lt;/SPAN&gt;.gdb";&lt;/P&gt;&lt;P&gt;String sdCardPath = Environment.getExternalStorageDirectory().getPath();&lt;/P&gt;&lt;P&gt;geodatabase = new Geodatabase(sdCardPath+"/"+mGeoDbfilePath);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to set permissions on the gdb file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2015 09:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367068#M2415</guid>
      <dc:creator>rahulkumar4</dc:creator>
      <dc:date>2015-09-05T09:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Exception while reading geodatabase file</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367069#M2416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, permissions should not be a problem. &lt;/P&gt;&lt;P&gt;The device does have an SD card?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 15:27:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/exception-while-reading-geodatabase-file/m-p/367069#M2416</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-09-10T15:27:34Z</dc:date>
    </item>
  </channel>
</rss>

