How to get action of System Dialong Box programatically
问题 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. 来源: https://stackoverflow.com/questions/43982298/how-to-get-action-of-system-dialong-box-programatically