Closed bertt closed 6 years ago
There is a Tango config property (TangoConfig.KeyStringDatasetsPath) thats set to '/data/data/com.google.tango/files/datasets/'
But the directory does not exist?
Hwoever, in adb there is a permission issue going to this directory
some adb hacking: must be something like '/data/data/com.google.tango/files/Tango/ADFs'
Testing getting access to the adf using the 'ExportToFile' method, but no luck...
SAmple code:
$ var p= Application.persistentDataPath;
$ var res = mostRecent.ExportToFile(p + "/test.pam");
but /storage/emulated/0/Android/data/com.bertt.arealearning/files remains empty :-(
Possibly helpful reads:
got the export working by having a directory instead of a file in the .ExportToFile method. A file is created with the ADF Guid as name.
Tried again to find the ADF files on the device, but no luck so far. Where are they stored exactly (external storage?) Can I see the files in a file explorer? Related question: How to get to the bytes of current selected ADF? Tried ' areaDescription.ExportToFile("/storage/emulated/0/Download/test.pam");' but no file seems to be exported.