[android-beginners] Printing keyCode

2010-05-30 Thread Mauricio
What is the best way to print the int associated with each key I pressed? I tried something like this: public boolean onKeyDown(int keyCode, KeyEvent event) { super.onKeyDown(keyCode, event); switch (keyCode) { default : // Something might

[android-beginners] Re: Printing keyCode

2010-05-30 Thread Mauricio
This is how I ended up solving it: currentRankText.setText(Integer.toString(keyCode)); Is that a good solution or I am opening myself to trouble? On May 30, 4:04 pm, Mauricio raubvo...@gmail.com wrote: What is the best way to print the int associated with each key I pressed? I tried something

[android-beginners] FAQ: On fields and text

2010-04-19 Thread Mauricio
If you want to have text on the screen that can be changed by the program, could you create a text field as a resource and then change its content in the code? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your

[android-beginners] Still confused with onKeyDown

2010-03-20 Thread Mauricio
I understand onKeyDown should give me the key that was pressed, but how to do that? I mean, if I do something like public boolean onKeyDown(int keyCode, KeyEvent event) { switch (keyCode) { case 97 : // Letter A DoSomething(); break;

[android-beginners] Re: setting up eclipse

2010-03-18 Thread Mauricio
On Mar 18, 2:49 am, Justin Anderson janderson@gmail.com wrote: First, this is an Android support group...  Have you tried the eclipse forums? Second, if you were a little more specific we might be able to help you... What supporting applications are you talking about?  The only thing I

[android-beginners] Re: Opening an old project in Eclipse

2009-06-06 Thread Mauricio
On Jun 5, 10:51 am, Balwinder Kaur (T-Mobile) balwinder.k...@t- mobile.com wrote: You need a project created (or imported) in your Eclipse IDE and you need to select that project to use the Open Project menu. If not, it will be grayed out. I'm assuming you mean to ask how to import your

[android-beginners] Opening an old project in Eclipse

2009-06-05 Thread Mauricio
I had to reinstall my eclipse jde from scratch (long story) and was now wondering how to read in the only android project I was messing with. The Open Project menu is currently grayed out so I do not how else I could read in the project. Anyone?

[android-beginners] Re: Interested in pinout of a cable that allows the g1 to use serial communication

2009-03-24 Thread Mauricio
On Mar 17, 5:16 pm, xp_prg wghe...@gmail.com wrote: Hi All, I am new to android development and the g1.  I have received some help in figuring out how to use the serial interface to the g1 via android.  My notes are here: