Search the Community
Showing results for tags 'permission'.
-
Hello, I am trying to access files on the local storage of the Focus 3, namely the Download, DCIM or any folder accessible when connecting the headset to a computer. I am using the PermissionManager from the Wave SDK to request the permissions READ_EXTERNAL_STORAGE & WRITE_EXTERNAL_STORAGE (PermissionManager.instance.isPermissionGranted return true for both these permissions), I also added the following lines in the AndroidManifest.xml <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> but I get the following error when I try to access to the folder: 2022/01/19 18:42:26.516 7851 7893 Error Unity IOException: Permission denied 2022/01/19 18:42:26.516 7851 7893 Error Unity Rethrow as UnauthorizedAccessException: Access to the path '/storage/emulated/0/DCIM' is denied. 2022/01/19 18:42:26.516 7851 7893 Error Unity at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00000] in <00000000000000000000000000000000>:0 2022/01/19 18:42:26.516 7851 7893 Error Unity at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00000] in <00000000000000000000000000000000>:0 2022/01/19 18:42:26.516 7851 7893 Error Unity at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <00000000000000000000000000000000>:0 2022/01/19 18:42:26.516 7851 7893 Error Unity at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00000] in <00000000000000000000000000000000>:0 2022/01/19 18:42:26.516 7851 7893 Error Unity at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (Syst Has someone else succesfully access these folders? Am I missing something? Thanks in advance for the help. @Alex_HTC
-
First I build the sample in wave sdk named “InteractionMode_Test” Then run it in Focus, I find the log: OEM_VRConfigService: setKeyValue(interactionMode): Permission denied Further analysis,I find It need vive.wave.vr.oem.data.OEMDataWrite, but it is config in manifest.xml the question: how to get the Permission ?
-
I found an example which name is "SystemRecording_Test" in the wvr_unity_samples.unitypackage Then I build and run on focus device, it did not run as expected. There is a tip in the scence, "System Record Test :SignKey Only" .It seems that you need to sign to get permission. Is my understanding correct? and how to Sign the app and get permission? thanks