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.
Updated SDK and reinstall the app. The problem has dissapeared.
We found the reason of this problem. It happend because the geodatabase got corrupted due to wrong call Geodatabase.dispose() method.
i am also facing some related problem. I am not able to attach my image in feature layer. Can u please help me..
Thanks
Rhitz
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.