I have a problem with my android algorithm. I want some certain thing happends when the user presses f. or any word, i’ve tried most of them and the space, the only codition that’s working is:
if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == 0)
Here’s the part that has a problem:
else if(keyCode == KeyEvent.KEYCODE_F && v.getId() == R.id.EditText1)
{
.. certain algorithm ..
}
Thanks for ur trouble 🙂
or you will try