Hi JY, I haven't tried clicking the center button yet and I don't intend to do that because I want the user interact with my app through touch screen. That's why I tried to figure out how to handle OnItemClicked event of the gallery. However as it's a bug of android, I have to find another way around until the new sdk version is released.
Colin On Apr 9, 11:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Colin, > Have you tried clicking the center button of the keypad? I can't just > click the image ingalleryusing mouse but if focus thegalleryand > then click the center button then I am able to see that the event is > delivered to your callback. > > JY > > On Apr 9, 10:28 am, ColinHo <[EMAIL PROTECTED]> wrote: > > > I'm implementing an application usingGalleryobj. I want to allow the > > user to do something by clicking on a image. > > > I tried to setOnItemClickedListener to handle the user's click action > > however my listener method seems never respond. I don't know why? > > Could someone please provide me some hints? > > > I searched for that issue in this discussion group and found out that > > there's another person asked about Mouse Click event ofGallerybefore > > and he was answered that it is a bug of Android and will be fixed and > > released soon in the future. However I don't see that bug in the bug > > tracker. > > > Am I not sure whether it's a bug of Android or not, or it's just > > because I did something wrong. > > > Thanks in advance. > > > Colin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---