googlesamples / android-PermissionRequest

Apache License 2.0
95 stars 46 forks source link

Support for microphone permissions #1

Open KeanW opened 9 years ago

KeanW commented 9 years ago

I tried replacing the WebView's loaded URL with this, to test microphone permissions + the Web Speech Recognition API...

https://www.google.com/intl/en/chrome/demos/speech.html

I added the appropriate manifest permissions, but the page doesn't detect that the API can be used (it works OK in mobile Chrome 39) and the permissions request doesn't get made via onPermissionRequest().

Could you please extend this sample to cover this scenario (or log a bug against mic permissions, if they don't work)?

Thanks!