mikedg1 / launchy

A supplementary app launcher for Google Glass
145 stars 58 forks source link

"OK glass, start launchy" does not work #8

Closed dtoan closed 10 years ago

dtoan commented 11 years ago

I followed the instruction to enable Glass Lab Experiments here https://gist.github.com/zhuowei/5624527, but the voice command does not appear.

The following is the screencast of my cmd.exe terminal:

ROOT_DIR\sdk\platform-tools>adb devices
List of devices attached
b1bd0d2a device

ROOT_DIR\sdk\platform-tools>adb shell
shell@android:/ $

shell@android:/ $ setprop persist.lab.native_app_voice true
setprop persist.lab.native_app_voice true
shell@android:/ $

I am using Xenologer modded Glass APKs on Samsung Galaxy Reverb (rooted, 4.1.2 Ice Cream Sandwich).

Did I miss something?

Thanks.

UncoolAsianDad commented 11 years ago

try SU right after your shell. setprop should give you some feed back

dtoan commented 11 years ago

thanks, it works

dtoan commented 11 years ago

New voice commands appear but does not respond. I even tested with simple command like "ok glass, hello ..." but it does not respond neither. I also tried to set OK_GLASS_EVERYWHERE but "ok glass" only works for glass home screen, not other places.

Maybe I miss something else?

My screen cast is as follows. When I enter "su", a pop up appears in glass home screen says root access is granted. When I enter "setprop persist.lab.native_app_voice true", another pop up on glass home screen says "persist.lab.native_app_voice true"

untitled

zhuowei commented 11 years ago

As far as I know OK_GLASS_EVERYWHERE has been removed. As for native app voice: once you enabled that you should be able to say "OK Glass, start Launchy".

dtoan commented 11 years ago

I think it requires this ro.build.type=userdebug (from this tutorial http://www.glassxe.com/2013/05/29/playing-with-the-labs-features-on-google-glass/ ).

But after I set ro.build.type=userdebug, Glass Voice crashes and does not work anymore.

Any solution?

zhuowei commented 11 years ago

The userdebug checks are removed in Xenologer APKs. Try forceclosing or rebooting, maybe?

dtoan commented 11 years ago

It works for DEBUG_LAUNCHER lab (without userdebug). So I think there may be something wrong with NATIVE_APP_VOICE lab on my android. Haven't figured out yet.

robertoandrade commented 11 years ago

Having the same issue here, it shows the option but doesn't respond to voice. The only way I was able to invoke the command was actually via tapping the main card on the home screen and swiping through the default options, it then shows the extra options to the right, so I am able to tap 'start launchy' from there.

Let me know if anyones figures this one out.

zhuowei commented 11 years ago

Install GlassVoice @robertoandrade

robertoandrade commented 11 years ago

I do have the modded version from xenologer, no luck on my GS4.

mikedg1 commented 11 years ago

Sorry I can't chime in, I haven't rooted my Glass device, but I'll be happy to pull in some fixes if anyone figures out the cause.

dtoan commented 11 years ago

I've posted on G+ Glass Explorers group and someone responded that they successfully get the voice work, but use some complicated techniques. Here is the link https://plus.google.com/u/0/100906179774906996534/posts/e1jApwDnfLG . Quote "At a high level, hack pocket sphynx, run as a background service, load in custom dictionaries. It's ALOT of work".

I haven't tried out this technique yet. If you guys can figure it out, please tell us how you do.

@kaze0 : Rooted does not work neither. I tried on my rooted Android.

mikedg1 commented 10 years ago

Currently Ok, Glass "run an app" Since XE11