Hyper links to local files with AppStudio using Map viewer templet.

945
2
11-18-2020 06:26 AM
Jack_in_the_box
New Contributor II

I am trying to roll out an offline MMPK with AppStudio for android using the Map viewer templet. I need to add a hyperlink that refers to the local file system in a images folder inside the viewer project or to the on-board SD card. Is this possible?

Thanks in advance.

 

AppRun_YWxElgOANz.png

0 Kudos
2 Replies
MarikaVertzonis
Esri Regular Contributor

There are two way to do this:

- copy your data to a known location on your device and use the AppStudio Framework to determine the storage location

- bundle your data as a Qt resource within the app and copy the data out to a known location once the app is installed.

These are described here https://doc.arcgis.com/en/appstudio/extend-apps/deploylocalofflinedata.htm

 

0 Kudos
Jack_in_the_box
New Contributor II

Thanks for your quick reply, I have already seen that link and it did help. I am now able to get the hyperlink to show but now a am getting Cannot display PDF (e77-1.tif is of invalid format). do you know it the Tif format is supported? 

0 Kudos