I am working on a project where i have to install an app programmatically on google-glass, the intent
leads to a System Dialog asking for users permission. Unfortunately the touch pad of the smart glass can not switch between the options. In order to pass them to glass touchpad, or programtically perform their click I need a way to catch the actions of the System Dialog.
Asked
Active
Viewed 67 times
0

asadnwfp
- 733
- 6
- 10
-
You cannot simulate UI input on system dialogs, except perhaps as an `AccessibilityService`. – CommonsWare May 15 '17 at 14:50
-
what would you suggest in my case, to go for, where i do not have to root my device, – asadnwfp May 15 '17 at 14:58
-
Since Google Glass has been discontinued, I have no idea. – CommonsWare May 15 '17 at 15:01
-
I have to make my app update, from a cloud, storage without user interuption. my research so far, has been telling me, either i have to root to get system priviliges, to use the permission INSTALL_Packages, or its the USER who activates the System Action. I have also looked for EMM solution, but google has made the Device Policy Manger unavailable for the glass. – asadnwfp May 15 '17 at 15:05
-
yes they are discontinued :( – asadnwfp May 15 '17 at 15:06
-
@asadnwfp Did you find any solution for this? – Rakesh Gopathi Jul 16 '18 at 07:51
-
@RakeshGopathi i found that you can do it, after rooting your phone, but I never tried that option. – asadnwfp Jul 31 '18 at 06:56
-
@asadnwfp Thanks for the reply. I figured it out and as you rightly pointed out it needs a rooted device to work. – Rakesh Gopathi Jul 31 '18 at 09:49