probably key event mishandling or wrong keycode/keymap file., framework=>base=>libs->ui->EventHub.cpp can be a first place to look for...
On Fri, Mar 18, 2011 at 8:42 PM, Vishwanath Hegde <[email protected]> wrote: > HI, > > When I press, pause / playback button on the wired headset I am seeing > jump to next track is happening on my android phone sometimes. I am > trying to identify in the android source code as part of fixing this > issue, I have following questions. > 1. Do I get an event when I press pause/play/fast forward, if so what > is that event name? > 2. In the andoidframework, where this event lands up? > 3. I see that "external/alsa-lib/src/pcm/pcm.c " is calling "pcm- >>fast_ops->forward(pcm->fast_op_arg, frames)". But I am not getting > how this gets called, if at all this is the function doing that jump > to next track. > > Here jump to next track means: I have few audio files in sd card. And > I am seeing the audio file is changed to next audio file when I press > pause/resume button on headset. > > Regards, > Vishwanath > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- Regards, Deva www.bittoggler.com -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
