Jump to content

VIVE Focus 3 to read USB data,


Parker Yuan
 Share

Recommended Posts

Developer is asking how to obtain the access right to USB data,

 

"requestUsbPermission app crash,参考wave Native SDK -> SDK教学 -> PermissionManager 示例代码,写了一个Android App,把app安装到focus3,调用请求获取usb权限时app crash."

 

 

WechatIMG22.png

Link to comment
Share on other sites

wave Native SDK调用PermissionManager requestPermissions,获取文件读写权限,未显示授权弹窗。直接调用Activity requestPermissions,出现弹窗授权确认后,读写文件依然失败,提示java.io.FileNotFoundException: /sdcard/test_log.txt: open failed: EACCES (Permission denied)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...