Android hyperlink to local file

07-01-2021 06:41 AM
by Anonymous User
Not applicable

I've created this post to highlight an issue that hasn't been solved so far in my knowledge.

I'm trying to include some PDF documentation in my survey, with an HTML link to a local file. This local file is bundled with the survey via the 'media' folder.

I've used DeonLengton's method below to create the HTML link, and can confirm it works for Windows. However the HTML link generated for Android doesn't seem to work, even though file path is correct.

Does anyone know what is the correct file path for Android to reach the Survey media files?


Android file paths I've tried: 

  • /storage/emulated/0/Android/data/com.esri.survey123/files/ArcGIS/My Surveys/{UniqueSurveyId}/esriinfo/media/Doc.pdf
  • file:///storage/emulated/0/Android/data/com.esri.survey123/files/ArcGIS/My Surveys/{UniqueSurveyId}/esriinfo/media/Doc.pdf
  • file:///Internal Storage/Android/data/com.esri.survey123/files/ArcGIS/My Surveys/{UniqueSurveyId}/esriinfo/media/Doc.pdf

Link to create HTML links:

Link to replies where several users faced the same Android file path problem:

0 Kudos
1 Reply
MVP Honored Contributor

I have worked with Android storage before but I can not get it to work either. 

I think it would be cool to add this option to Linked Content.  Right now it is just csv files but adding PDFs and other docs would be powerful.  Esp since I could then link to it from several forms.  Maybe post up a ArcGIS Ideas on this?