Friday, October 30, 2009

[android-developers] How do some services(like "com.android.inputmethod.latin") start when the emulator boots?

Hi all,

I am reading the initialization process of Android system on the
emulator. I use "adb logcat" to see the internal output.

I have read according to the following order:
init -> init.rc -> zygote(init1->init2) -> systemReady(start
com.android.phone and android.process.acore)

However, the log has some lines about starting other processes, such
as:

I/ActivityManager( 567): Start proc com.android.inputmethod.latin for
service com.android.inputmethod.latin/.LatinIME: pid=668 uid=10006
gids={3003}
I/ActivityManager( 567): Start proc android.process.media for
broadcast com.android.providers.media/.MediaScannerReceiver: pid=677
uid=10000 gids={1006, 2001, 3003}

But I can't find the calling stack about those services and broadcast
receivers. How do those services and receivers start?

Can anyone help me?

Thanks very much,
Caixia

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment