It is implemented in Java; it wouldn't be relevant to the NDK.  See Looper,
MessageQueue, Handler in the Java code.

On Fri, Sep 24, 2010 at 7:04 AM, Lukas Adamec <[email protected]> wrote:

> I have another question: Where to find how event loop is implemented
> on Android? Is there some documentation? Or need I browse source code?
> Thanks.
>
> On 23 zář, 06:13, Lukas Adamec <[email protected]> wrote:
> > Hello,
> > I need to implement my own main event loop in C++ which will be based
> > on GLib library. I don't know where to begin. I studied some materials
> > about GLib, but it doesn't help me to know, how implement event loop.
> > Could somebody give me some advice about it or give me some source
> > code? I basically need to implement GSource and GSourceFuncs from
> > GLib. I can't find how event loop is implemented in Android, could
> > somebody explain it to me too? Thanks a lot.
> >
> > Lukas
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to