#If JAVA
public boolean _onkeydown (int keyCode, android.view.KeyEvent event) {
anywheresoftware.b4a.keywords.Common.CallSubNew3(mostCurrent.activityBA,main.getObject(),"Activity_KeyDown", keyCode, event.getSource());
return true;
}
#End If
Sub Activity_KeyDown(keyCode As Int, Source As Int)
Log("Activity_KeyDown: " & keyCode & " Source : " & Source )
End Sub