Fixed
Status Update
Comments
am...@gmail.com <am...@gmail.com> #2
We did have an API that could access MyMaps. Unfortunately it has been deprecated. Please read the announcement for more information:
http://googlegeodevelopers.blogspot.com/2010/11/maps-data-api-deprecation-announcement.html
I'm going to leave this feature request open, so we can gauge potential interest in such an API.
I'm going to leave this feature request open, so we can gauge potential interest in such an API.
bo...@google.com <bo...@google.com> #3
Maps Pro will have this functionality.
d4...@gmail.com <d4...@gmail.com> #4
Leaving this one open to collect interest in this feature.
Description
Path:
/extSdCard/_documentTest
Uri:
content://com.android.externalstorage.documents/tree/0000-0000%3A/document/0000-0000%3A_documentTest
SingleDocumentFile doesn't support any write features, so we are left with TreeDocumentFile which is created with:
public static DocumentFile fromTreeUri(Context context, Uri treeUri) {
final int version = Build.VERSION.SDK_INT;
if (version >= 21) {
return new TreeDocumentFile(null, context,
DocumentsContractApi21.prepareTreeUri(treeUri));
} else {
return null;
}
}
However DocumentsContractApi21.prepareTreeUri(treeUri) truncates the document id returning a DocumentFile pointing to:
content://com.android.externalstorage.documents/tree/0000-0000%3A/document/0000-0000%3A
This is NOT the same URI! It simply truncated this URI down to the tree root...
I cannot see a workaround without reflection into TreeDocumentFile.