waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

GDK app with lots of voice trigger activities crash Home #448

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've been trying to make a Glass GDK app that has a lot of voice sub-menus. For 
example I want to be able to do "trains departing..." then from a list of 
station names say "Southern Cross".

I was able to achieve this with the activity label method as described on 
StackOverflow 
http://stackoverflow.com/questions/20113753/way-to-nest-multiple-voice-triggers-
when-launching-an-app-with-gdk/20125392#20125392

However I've found that a few activities are okay but hundreds will cause the 
Home lock up and crash.

What steps will reproduce the problem?
1. Make app with lots of activities with voice triggers and different labels 
(hundreds)
2. Deploy app to Glass
3. Home will crash.
4. On restart, Home will be unresponsive and inaccessible.
5. To fix: I had to ADB and uninstall the package then restart Glass.

What is the expected output? What do you see instead?
Glass should be able to support sub-menus natively, or allow hundreds of 
activities without crashing Home.

What version of the product are you using? On what operating system?
XE12

Please provide any additional information below.

Original issue reported on code.google.com by long.zh...@gmail.com on 27 Mar 2014 at 12:44