Parker Yuan Posted September 15, 2021 Share Posted September 15, 2021 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." Link to comment Share on other sites More sharing options...
Parker Yuan Posted September 16, 2021 Author Share Posted September 16, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now