You can override the onKeyDown(int, android.view.KeyEvent) or onKeyUp
(..)

You can retrieve the KeyCode form the KeyEvent and print it.

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Aug 21, 7:20 pm, JavaCodeur <[email protected]> wrote:
> Thanks  Yusuf !
> But
>
> for simplify my problem i want to ask you what can I do for this
> problem :
>
> I want when I press on the # or other touch, my code write a message
> on console by System.out.println(" you have press à #");
>
> Public Class MyProblem extends View implements xxxxxxxxxx{
>
> public xxxxx my methode(arguments);
>
> }
>
> My problem is :how I can listener somme key!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to