<?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: GeodatabaseFeatureTable.addAttachment returns -1 in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554578#M3799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updated SDK and reinstall the app. The problem has dissapeared.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2014 10:47:49 GMT</pubDate>
    <dc:creator>EduardLepner</dc:creator>
    <dc:date>2014-10-15T10:47:49Z</dc:date>
    <item>
      <title>GeodatabaseFeatureTable.addAttachment returns -1</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554577#M3798</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 trying to implement work with attachments in offline mode. But when I call the method GeodatabaseFeatureTable.addAttachment it just returns -1. Moreover the state of app gets corrupted after this call and the app is not even able to do queries. This issue appears if and only if some other application was called from my app e.g. the file was selected from gallery. If I just hardcode the path to a file then this method does not cause any problems.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 08:52:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554577#M3798</guid>
      <dc:creator>EduardLepner</dc:creator>
      <dc:date>2014-10-15T08:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: GeodatabaseFeatureTable.addAttachment returns -1</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554578#M3799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updated SDK and reinstall the app. The problem has dissapeared.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 10:47:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554578#M3799</guid>
      <dc:creator>EduardLepner</dc:creator>
      <dc:date>2014-10-15T10:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: GeodatabaseFeatureTable.addAttachment returns -1</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554579#M3800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am also facing some related problem. I am not able to attach my image in feature layer. Can u please help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rhitz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 08:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554579#M3800</guid>
      <dc:creator>imritanshu</dc:creator>
      <dc:date>2015-02-19T08:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: GeodatabaseFeatureTable.addAttachment returns -1</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554580#M3801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We found the reason of this problem. It happend because the geodatabase got corrupted due to wrong call &lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/core/geodatabase/Geodatabase.html#dispose()"&gt;Geodatabase.dispose()&lt;/A&gt; method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 10:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/geodatabasefeaturetable-addattachment-returns-1/m-p/554580#M3801</guid>
      <dc:creator>EduardLepner</dc:creator>
      <dc:date>2015-02-19T10:07:15Z</dc:date>
    </item>
  </channel>
</rss>

