USB permission request dialog does not appear

Highlighted
twkx
Contributor

USB permission request dialog does not appear

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.

@Tony PH Lin

 

Vive Staff

Re: USB permission request dialog does not appear

@Tony PH Lin

To reach Viveport's customer service team, email customerservice@viveport.com

To connect with a live support agent for hardware support, go to www.vive.com/support, click on "contact us" in the top righthand corner, and then opt to speak with a Live Chat agent

David R

Technical Specialist - San Francisco, CA; Monday-Friday

Click here to send me a PM

twkx
Contributor

Re: USB permission request dialog does not appear

Hi,

 

The address customersupport@viveport.com is invalid (Recipient address rejected)

 

Vive Staff

Re: USB permission request dialog does not appear

@twkx

 

You caught me while I was testing some edits to my signiture. The point of my post was to tag @Tony PH Lin for response.

 

@Jad @Dario

To reach Viveport's customer service team, email customerservice@viveport.com

To connect with a live support agent for hardware support, go to www.vive.com/support, click on "contact us" in the top righthand corner, and then opt to speak with a Live Chat agent

David R

Technical Specialist - San Francisco, CA; Monday-Friday

Click here to send me a PM

Vive Staff

Re: USB permission request dialog does not appear

 

Hi @twkx,

 

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
Contributor

Re: USB permission request dialog does not appear

Hi @Tony PH Lin,

 

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.

 

 

Vive Staff

Re: USB permission request dialog does not appear

@Tony PH Lin 

To reach Viveport's customer service team, email customerservice@viveport.com

To connect with a live support agent for hardware support, go to www.vive.com/support, click on "contact us" in the top righthand corner, and then opt to speak with a Live Chat agent

David R

Technical Specialist - San Francisco, CA; Monday-Friday

Click here to send me a PM

Vive Staff

Re: USB permission request dialog does not appear

Hi @twkx ,

 

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.

Vive Staff

Re: USB permission request dialog does not appear

Hi @twkx ,

 

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/...