It seems that when you press the backspace key on the virtual keyboard rapidly to erase an existing text in a textfield, Activity_KeyPress is raised for no reason at all after about 5 keypresses. This behavior does not exist on previous Android versions. Is there a known workaround?
Sub Activity_Create(FirstTime As Boolean)
Dim et As EditText
et.Initialize("")
Activity.AddView(et, 0, 0, 200dip, 100dip)
End Sub
Sub Activity_KeyPress (KeyCode As Int) As Boolean
Log(KeyCode)
Return True
End Sub
But let's agree on the fact that this is most probably not a B4A bug, but something strange in Kitkat that can be handled without any problem in B4A's KeyPress procedure.