Hi
I am trying to accept input from the keyboard (android). It code is working fine, but when I run it and try to type, a suggestion box or something with Japanese symbols pops up. What I am trying to do is hide an image when the user hits the "A" key. After I type "A" and hit enter, the code executes fine. Is there a way to turn this off?
Here is my code:
Import android.view.KeyEvent;
public class main extends Activity{
public boolean onKeyDown(int keycode, KeyEvent msg) {
ImageView m11 = (ImageView findViewById(R.id.m11);
if(keyCode==KeyEvent.KEYCODE_A){
m11.setVisibility(0x00000004);
}return super.oonkeyDown(keyCode, msg);
}
}
I remember reading something about requesting that the bar at the top be removed, is there anything I could do like that so that when the user types the input goes directly to my app. Or is that something I have to change with my emulator. (Using eclipse)
Thanks