Thanks for the thoughts, Jeff. I understand your reasoning, so perhaps the best course of action is to modify the example documentation. The "Edit a document" section of the SAF Guide (https://developer.android.com/guide/topics/providers/document-provider.html#edit) states that to "edit a text document in place", the correct choice is ACTION_OPEN_DOCUMENT. Based on what you are saying, since ACTION_CREATE_DOCUMENT allows you to pick an existing file, that is the better choice for "in place editing".
The guide should probably either be changed to reflect ACTION_CREATE_DOCUMENT for editing, or to indicate that using ACTION_OPEN_DOCUMENT should include a branch check on FLAG_SUPPORTS_WRITE to determine if the edit can happen in place, or if ACTION_CREATE_DOCUMENT will need to be used anyway to create a new file for the edit changes. Thanks again, Dave Smith @devunwired > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.