AnsweredAssumed Answered

GeodatabaseFeatureTable.addAttachment returns -1

Question asked by eduard.lepner2 on Oct 15, 2014
Latest reply on Feb 19, 2015 by eduard.lepner2

Hi!

 

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.

Any ideas?

 

Thanks in advance.

Outcomes