googlearchive / tango-examples-unity

Project Tango [deprecated] UnitySDK Example Projects
https://developers.google.com/ar
Apache License 2.0
470 stars 242 forks source link

Export ADF file doesn't work - Unity-Tango SDK "AreaDescriptionManagement" example #97

Closed antonin137 closed 7 years ago

antonin137 commented 7 years ago

Built application asks for exporting ADF file permissions and areaDescription.ExportToFile(kb.text) in script ADMGUIController returns true, but no file is written on desired location (/sdcard/file.adf or any other internal like /storage/emulated/0/somefile.adf)... Using Unity 5.6.1 and Lenovo Phab 2 Pro, clean project with most recent Tango package imported. Anybody experienced similar isue ?

Is it possible to change ADF file storage to some accessible folder ?

Thank You

martinbilello commented 7 years ago

Hi, the parameter in that case should be a folder path and not a file. We are going to make sure this is clearer and change it so it returns false in this case.

Thanks

antonin137 commented 7 years ago

Hi, Tested enter only a path and it works! So, not an issue... Thank You for fast response :-)