twkx Posted January 15, 2019 Posted January 15, 2019 Hi, I would like to use an external USB device on my VIVE focus. Unfortunately, the USB permission popup does not appear in my app, and I cannot accept it. I know that a dedicated Wave SDK API exists in order to manage regular Android permission requests normally issued with Activity.requestPermissions(), but I'm talking here about UsbManager.requestPermission() which is different API. Please not that if my app does not include com.htc.intent.category.VRAPP in AndroidManifest, it starts in windowed mode, the dialog appears correctly, and everything is fine. I need to run in full screen, and in this case, dialog does not show up. In a more general way, I've noticed that every AlertDialog are not shown in my app. What can I do to show them ? Thanks a lot.
twkx Posted January 17, 2019 Author Posted January 17, 2019 Hi, The address customersupport@viveport.com is invalid (Recipient address rejected)
HackPerception Posted January 17, 2019 Posted January 17, 2019 , You caught me while I was testing some edits to my signiture. The point of my post was to tag for response.
Tony PH Lin Posted January 18, 2019 Posted January 18, 2019 Hi , Thanks for your feedback. Yes, you're right. If the app doesn't include com.htc.intent.category.VRAPP in AndroidManifest.xml, it's default to start in windows mode and not full screen. WVR_PermissionManager API is used to access Android Normal and Dangerous Permission. However it can't support USB Permission via Usb device manager. We will put it on our support list. The short-term workaround is to manully enable USB permission from Android setting by using Vysor. Thanks.
twkx Posted January 18, 2019 Author Posted January 18, 2019 Hi , Yes I use Vysor, but the dialog doesn't appear in it too. Also I see no nothing related to USB permission for external USB camera or third party devices in Android settings. Where did you see it ? If you are talking about USB debugging toggle in Developper options, it is not related to third party devices USB permission, it is only related to ADB USB communication. Thanks.
Tony PH Lin Posted January 23, 2019 Posted January 23, 2019 Hi , After checking internal, you can't enable the permission from app setting. We are finding an easy way and path for you. Will keep you posted. Thanks.
Tony PH Lin Posted February 13, 2019 Posted February 13, 2019 Hi , There is another related topic, and you may take a reference to see if it's helpful. Thanks. https://community.viveport.com/t5/Vive-Wave-SDK/Getting-access-to-external-USB-camera-on-Vive-Focus/m-p/28498/highlight/false#M1778
tkoole Posted May 28, 2019 Posted May 28, 2019 Hi , Is there any progress or information for moving forward with USB Permissions inside of a VRAPP? I've checked the other threads and none of them provide a solid solution. My current work-around is to kill the app through ADB over wifi without removing the USB device, this then presents the USB Permission popup in windowed mode, accept the permissions, and then restart the app. This is fine for deveopment, but it is not a practical solution for release.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.