Currently, can press volume button and menu to activate screen recording on Lenovo Mirage Solo daydream device. Is there a way to trigger this same function programmatically?
I've looked through the documentation and cannot find anything relevant.
Currently, can press volume button and menu to activate screen recording on Lenovo Mirage Solo daydream device. Is there a way to trigger this same function programmatically?
I've looked through the documentation and cannot find anything relevant.
Copyright © 2021 Jogjafile Inc.
I haven't tested this because I don't have this phone, but here is my best guess. The first four lines press the volume and menu keys down (
ACTION_DOWN), and the second four lines release them (ACTION_UP). Hopefully it works for you :) I'm assuming this works with menu and volume-down, but if it's volume-up then just swapKEYCODE_VOLUME_DOWNforKEYCODE_VOLUME_UP