Try overrideing onKeyDown() event.

On Jan 26, 11:14 pm, manoj <[email protected]> wrote:
> Hi,
>
> I am writing an application. I am using ExpandableListActivity, I
> mean,  I  am showing some List elements,
>
> for example I show some country names, when some one clicks (touches)
> a particular country, the list automatically expands and shows the
> available states in the country.
>
> If I click on (touch) any state, it should show an alert with the
> state name showing.
>
> It works fine when I touches the screen. But I want the same thing
> should be happen when I press the centre key of the emulator's keypad
> (left, top, right, bottom, centre or fire keys).
>
> I dont know how to write code for this requirement.
>
> Can any one please help me?
>
> Thanks,
> Manoj.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" 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-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to