Basically, the 'main' of your Java (DalvikVM) sets up a message-queue and a looper dispatching these messages on the 'main' (UI) thread.
Actions by the user or external system events post messages on this queue which are then dispatched by the looper to the appropriate objects (managers, handlers, etc). Best thing to do is just create an Activity, override and implement onCreate, onStart, etc. and set breakpoints there. Then examine the stack-trace in the debugger to figure out what's going on. On Thursday, November 1, 2012 8:21:41 AM UTC-4, Andrew wrote: > > Dear friends, > > I do not know whether this group is a good place to ask this question. But > I really wish to know who calls the "onCreate()..." lifecycle handlers of > Activity components. > By all means, an Android application is not a complete program: no entry > (main) functions, loosely coupled event handlers... So there must be a part > in the Android framework for scheduling the invocation of event handlers. > > I really appreciate it if someone can provide useful information. This > question bothers me a lot. Thanks :) > -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en