I don't quite understand what exactly you want to know. ListView is
definitely not handled by the kernel. You even said yourself where the
code that invokes onListItemClick() is: in
AadapterView/AbsListView/ListView. You can always use a debugger to
trace exactly what code path is taken to lead to onListItemClick() but
don't expect anyone to describe you all the code that runs between the
moment you tap the screen and the callback is invoked, that would take
a very logn time :)

On Thu, Dec 31, 2009 at 8:29 PM, Eus
<[email protected]> wrote:
> HiHo!
>
> On Thu, 2009-12-31 at 12:40 -0800, Brion Emde wrote:
>> The method onListItemClick(), which is maybe what you're asking about,
>> is a protected method in ListActivity.
>
> No, I am not asking that. I ask:
>
>> > device -> kernel driver -> dalvik VM -> my app.
>> >
>> > Could someone please tell me the exact code that calls onItemClick()
>> > when I click on the item through the device?
>
> I expect something like:
>
> a_file_in_kernel_for_ListView.c:
> ...
> if (interrupt_from_device) {
>        o = getObjectHitByPointer ();
> }
> ...
> for (i = 0; i < listenerCount; i++) {
>
>        onItemClickObjects[i].getOnItemClickListener().onItemClick(
>
>                getParentOfThisRow(onItemClickObjects[i]),
>                getRowOfThisListener(onItemClickObjects[i]
>                        .getOnItemClickListener()),
>                positionOfThisRow,
>                idOfThisRow
>        );
> }
>
> --
> Best regards,
> Eus (FSF member #4445)
>
> In this digital era, where computing technology is pervasive, your
> freedom depends on the software controlling those computing devices.
>
> Join free software movement today! It is free as in freedom, not as in
> free beer!
>
> Join: http://www.fsf.org/jf?referrer=4445
>
> --
> 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
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

-- 
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