android - Simulate a touchpad event on Google Glass -
background: trying create controller application google glass ability send swipes , taps pressing button on bluetooth connected smartphone.
current status: have been able simulate these swipes , navigate in application on glass, these swipes not maintain display turning off (since not touching glass hardware, calling onswipeleft, onswiperight, etc. listeners).
question: possible programmatically simulate tap , swipe touchpad events google glass application, such screen remain on , not dim?
this how did in xamarin. similar in java.
private void issuekey(int keycode) { java.lang.process p = java.lang.runtime.getruntime().exec("input keyevent " + keycode.tostring() + "\n"); } android google-glass
No comments:
Post a Comment