googlesamples / glass-enterprise-samples

Glass Enterprise Edition 2 Samples
Apache License 2.0
123 stars 93 forks source link

VoiceRecognitionSample issues #6

Closed predictcare closed 4 years ago

predictcare commented 4 years ago

Hi all, 1) Readme.md should be updated, it doesn't mention the VoiceRecognitionSample repo.

2) Tried the sample on on real glasses, Last firmware revision of 6 of december : OPM1.191020.002.

Behaviour :

Running App from Android Studio or directly from device (connected with scrcpy)

It says "tap to start voice recognition". Tapping goes to home and have the message : "Voice Recognition Sample has Stopped"

I think this is related to permissions request (the app has "No permissions request")

Thanks

predictcare commented 4 years ago

I added the permissions, but the problem seems to be :

E/InputEventReceiver: Exception dispatching input event. E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback E/MessageQueue-JNI: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.speech.action.RECOGNIZE_SPEECH (has extras) }

jbolinger commented 4 years ago

Hey @predictcare thanks for the issue!

This is normal. This sample is for a for an upcoming feature and it won't work on any of our current firmware versions. However, it uses the normal Android speech APIs so we've put it here to let developers know how it will work in case they want to try their apps on phones, etc.

We'll keep this issues open and update the README with all of this information as soon as we can.

predictcare commented 4 years ago

Thanks, so there's no way right now to use speech on glasses EE 2 ?

Victor

jbolinger commented 4 years ago

EE2 doesn't currently have speech recognition built-in, but there are third party solutions available and we'll have an update soon.

predictcare commented 4 years ago

Ok, so i think i'll wait.

If you need to test...i'm here.

Thanks.

ScottMcCormack commented 4 years ago

There is a new system image being made available soon OPM1.200313.001 which is referenced here that should resolve the reference issue: https://developers.google.com/glass-enterprise/downloads/system-images

idzkowski-google commented 4 years ago

OPM1.200313.001 firmware version is now available on the developers page: https://developers.google.com/glass-enterprise/downloads/system-images

@predictcare now the VoiceRecognitionSample application should work on Glass with the firmware updated to OPM1.200313.001.

ScottMcCormack commented 4 years ago

Have run the sample and can confirm that it works for me with the new firmware version