0

I started GDK development, and i have written a simple and small Hello World example, i installed three required APKs on my android device

glasshome-modded.apk

glassvoice-modded.apk

glasssetup-modded.apk

now i am getting glass home screen and whenever i speak ok glass getting menus like: google, take a picture, record a video,... and more

but not listing my own glassware app, when trying to install apk on device, always getting open option as disabled, why?

may i know how can i run my own app ?

Community
  • 1
  • 1
Sun
  • 6,768
  • 25
  • 76
  • 131

2 Answers2

0

finally i found the solution, here

You need to set up a debug configuration that will work for this. Originally this application won't start without user interaction. If you go to the debug drop-down and say configure you can have it auto start an activity of your choice. So at the top pick the project then when it asks what to do say auto launch activity with the drop-down box next to it. Use the drop-down to select the activity you want to auto-start. Then try debugging the application and it should push and start automatically on your glass.

credit goes to @w9jds

Community
  • 1
  • 1
Sun
  • 6,768
  • 25
  • 76
  • 131
0

First of all normally the modded apks are available for XE6 normally in which custom voice commands were not supported.

Secondly to run your application.

1) If you are installing using apk check out my answer here

2) if you are deploying you application using using IDE you can check my related answer here

Community
  • 1
  • 1
Quamber Ali
  • 2,170
  • 25
  • 46