The following is the code for selecting a geoJson file (i assume):
Dim cc As ContentChooser
cc.Initialize("cc")
cc.Show("text/geo+json", "Choose geoJson file")
the geo+json came from the android documentation.
When i go to select the file, it will not let me select a geojson file. The list that comes up says that the geoJson file is a BIN file. It will identify the json as JSON, but not a geoJson file.
If i change the code to:
Dim cc As ContentChooser
cc.Initialize("cc")
cc.Show("text/*", "Choose geoJson file")
and add .txt as the extension as in
abc.geojson.txt, it will allow me to select the file and process. I understand why this works, the json/geojson not being recognized and selected is the issue.
i have added a geoJson test file generated by
https://geojson.io/ to help.
Thanks
B