Android Forums

Go Back   Android Forums > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
Reply
 
LinkBack Thread Tools Display Modes
Old 08-21-2010, 11:28 AM   #1
New Member
 
Join Date: Aug 2010
Posts: 1
Friends: 0
View shindz's Profile   View shindz's Photo Album   View shindz's Blog   View Social Groups
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
shindz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Reply With Quote
Reply

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i read the input from the keyboard? Wuque Android Development, Answers, Tutorials, and Code Snippets 18 09-07-2011 02:24 PM
How to Disable Auto Suggestion in EditText? Ankit2502 Android Development, Answers, Tutorials, and Code Snippets 0 08-19-2010 02:39 AM
Setting a contact to go directly to voicemail?? mrallen88 Android Chat 0 06-02-2010 08:48 AM
ShapeWriter Keyboard allows you to input on Android the same experience with on PC shilei Android Games And Applications 4 11-05-2009 09:51 PM
Suggestion for make yours review HCSC Site Feedback 3 09-25-2008 05:16 PM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 11:49 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2008 TalkAndroid.com. All rights reserved.