[android-developers] Why is the original softkeyboard daemon still running even after I reconfigured it in the setting-keyboard?

2011-01-07 Thread Peter Teoh
First, start avd, and then adb shell in a terminal, and ps to see
the following processes:

# ps
USER PID   PPID  VSIZE  RSS WCHANPC NAME
root  1 0 296204   c009a694 c93c S /init
root  2 0 0  0 c004dea0  S kthreadd
root  3 2 0  0 c003f778  S ksoftirqd/0
root  4 2 0  0 c004aaf4  S events/0
root  5 2 0  0 c004aaf4  S khelper
root  6 2 0  0 c004aaf4  S suspend
root  7 2 0  0 c004aaf4  S kblockd/0
root  8 2 0  0 c004aaf4  S cqueue
root  9 2 0  0 c017bb3c  S kseriod
root  102 0  0 c004aaf4  S kmmcd
root  112 0  0 c006ecac  S pdflush
root  122 0  0 c006ecac  S pdflush
root  132 0  0 c007349c  S kswapd0
root  142 0  0 c004aaf4  S aio/0
root  212 0  0 c017933c  S mtdblockd
root  222 0  0 c004aaf4  S hid_compat
root  232 0  0 c004aaf4  S rpciod/0
root  242 0  0 c018e530  S mmcqd
root  251 728248   c01537e8 afe0c7dc S /system/bin/sh
system261 796260   c019a854 afe0ca7c S /system/bin/
servicemanager
root  271 832372   c009a694 afe0cba4 S /system/bin/
vold
radio 291 5420   548    afe0d0ec S /system/bin/
rild
root  301 81928  15588 c009a694 afe0cba4 S zygote
media 311 19928  1172   afe0ca7c S /system/bin/
mediaserver
root  321 784316   c02094ac afe0c7dc S /system/bin/
installd
keystore  331 1616   268   c01a65e8 afe0d40c S /system/bin/
keystore
root  341 728248   c003d444 afe0d6ac S /system/bin/sh
root  351 824332   c00b7dd0 afe0d7fc S /system/bin/
qemud
root  371 3376   184    eca4 S /sbin/adbd
root  4434780304   c02094ac afe0c7dc S /system/bin/
qemu-props
system6430146608 25012  afe0ca7c S system_server
root  9137736328   c003d444 afe0d6ac S /system/bin/sh
app_7 117   30113904 18624  afe0da04 S
com.android.inputmethod.pinyin
radio 119   30117944 16796  afe0da04 S
com.android.phone
app_7 145   30123644 19560  afe0da04 S
android.process.acore
app_3 174   30103636 15664  afe0da04 S
android.process.media
app_14199   30111504 19152  afe0da04 S com.android.mms
app_17214   30102824 15304  afe0da04 S
com.android.alarmclock
app_23223   30105972 16548  afe0da04 S
com.android.email
root  261   1 656248   c01a65e8 afe0d40c S /system/bin/
debuggerd
root  300   91868332    afe0c7dc R ps

So u can see the default softkeyboard is pinyin.

Next, go to setting change the default keyboard to Android Keyboard
and close all other keyboard.

And come back open a new message box or something:

# ps
USER PID   PPID  VSIZE  RSS WCHANPC NAME
root  1 0 296204   c009a694 c93c S /init
root  2 0 0  0 c004dea0  S kthreadd
root  3 2 0  0 c003f778  S ksoftirqd/0
root  4 2 0  0 c004aaf4  S events/0
root  5 2 0  0 c004aaf4  S khelper
root  6 2 0  0 c004aaf4  S suspend
root  7 2 0  0 c004aaf4  S kblockd/0
root  8 2 0  0 c004aaf4  S cqueue
root  9 2 0  0 c017bb3c  S kseriod
root  102 0  0 c004aaf4  S kmmcd
root  112 0  0 c006ecac  S pdflush
root  122 0  0 c006ecac  S pdflush
root  132 0  0 c007349c  S kswapd0
root  142 0  0 c004aaf4  S aio/0
root  212 0  0 c017933c  S mtdblockd
root  222 0  0 c004aaf4  S hid_compat
root  232 0  0 c004aaf4  S rpciod/0
root  242 0  0 c018e530  S mmcqd
root  251 728248   c01537e8 afe0c7dc S /system/bin/sh
system261 796260   c019a854 afe0ca7c S /system/bin/
servicemanager
root  271 832372   c009a694 afe0cba4 S /system/bin/
vold
radio 291 5420   548    afe0d0ec S /system/bin/
rild
root  301 81928  15472 c009a694 afe0cba4 S zygote
media 311 19928  1172   afe0ca7c S /system/bin/
mediaserver
root  321 784316   c02094ac afe0c7dc S /system/bin/
installd
keystore  331 1616   268   c01a65e8 afe0d40c S /system/bin/
keystore
root  

Re: [android-developers] Why is the original softkeyboard daemon still running even after I reconfigured it in the setting-keyboard?

2011-01-07 Thread Dianne Hackborn
It's not a daemon, it's just a process, and it's behaving as the
documentation describes Android manages processes:
http://developer.android.com/guide/topics/fundamentals.html#proclife

On Fri, Jan 7, 2011 at 12:19 AM, Peter Teoh htmldevelo...@gmail.com wrote:

 First, start avd, and then adb shell in a terminal, and ps to see
 the following processes:

 # ps
 USER PID   PPID  VSIZE  RSS WCHANPC NAME
 root  1 0 296204   c009a694 c93c S /init
 root  2 0 0  0 c004dea0  S kthreadd
 root  3 2 0  0 c003f778  S ksoftirqd/0
 root  4 2 0  0 c004aaf4  S events/0
 root  5 2 0  0 c004aaf4  S khelper
 root  6 2 0  0 c004aaf4  S suspend
 root  7 2 0  0 c004aaf4  S kblockd/0
 root  8 2 0  0 c004aaf4  S cqueue
 root  9 2 0  0 c017bb3c  S kseriod
 root  102 0  0 c004aaf4  S kmmcd
 root  112 0  0 c006ecac  S pdflush
 root  122 0  0 c006ecac  S pdflush
 root  132 0  0 c007349c  S kswapd0
 root  142 0  0 c004aaf4  S aio/0
 root  212 0  0 c017933c  S mtdblockd
 root  222 0  0 c004aaf4  S hid_compat
 root  232 0  0 c004aaf4  S rpciod/0
 root  242 0  0 c018e530  S mmcqd
 root  251 728248   c01537e8 afe0c7dc S /system/bin/sh
 system261 796260   c019a854 afe0ca7c S /system/bin/
 servicemanager
 root  271 832372   c009a694 afe0cba4 S /system/bin/
 vold
 radio 291 5420   548    afe0d0ec S /system/bin/
 rild
 root  301 81928  15588 c009a694 afe0cba4 S zygote
 media 311 19928  1172   afe0ca7c S /system/bin/
 mediaserver
 root  321 784316   c02094ac afe0c7dc S /system/bin/
 installd
 keystore  331 1616   268   c01a65e8 afe0d40c S /system/bin/
 keystore
 root  341 728248   c003d444 afe0d6ac S /system/bin/sh
 root  351 824332   c00b7dd0 afe0d7fc S /system/bin/
 qemud
 root  371 3376   184    eca4 S /sbin/adbd
 root  4434780304   c02094ac afe0c7dc S /system/bin/
 qemu-props
 system6430146608 25012  afe0ca7c S system_server
 root  9137736328   c003d444 afe0d6ac S /system/bin/sh
 app_7 117   30113904 18624  afe0da04 S
 com.android.inputmethod.pinyin
 radio 119   30117944 16796  afe0da04 S
 com.android.phone
 app_7 145   30123644 19560  afe0da04 S
 android.process.acore
 app_3 174   30103636 15664  afe0da04 S
 android.process.media
 app_14199   30111504 19152  afe0da04 S com.android.mms
 app_17214   30102824 15304  afe0da04 S
 com.android.alarmclock
 app_23223   30105972 16548  afe0da04 S
 com.android.email
 root  261   1 656248   c01a65e8 afe0d40c S /system/bin/
 debuggerd
 root  300   91868332    afe0c7dc R ps

 So u can see the default softkeyboard is pinyin.

 Next, go to setting change the default keyboard to Android Keyboard
 and close all other keyboard.

 And come back open a new message box or something:

 # ps
 USER PID   PPID  VSIZE  RSS WCHANPC NAME
 root  1 0 296204   c009a694 c93c S /init
 root  2 0 0  0 c004dea0  S kthreadd
 root  3 2 0  0 c003f778  S ksoftirqd/0
 root  4 2 0  0 c004aaf4  S events/0
 root  5 2 0  0 c004aaf4  S khelper
 root  6 2 0  0 c004aaf4  S suspend
 root  7 2 0  0 c004aaf4  S kblockd/0
 root  8 2 0  0 c004aaf4  S cqueue
 root  9 2 0  0 c017bb3c  S kseriod
 root  102 0  0 c004aaf4  S kmmcd
 root  112 0  0 c006ecac  S pdflush
 root  122 0  0 c006ecac  S pdflush
 root  132 0  0 c007349c  S kswapd0
 root  142 0  0 c004aaf4  S aio/0
 root  212 0  0 c017933c  S mtdblockd
 root  222 0  0 c004aaf4  S hid_compat
 root  232 0  0 c004aaf4  S rpciod/0
 root  242 0  0 c018e530  S mmcqd
 root  251 728248   c01537e8 afe0c7dc S /system/bin/sh
 system261 796260   c019a854 afe0ca7c S /system/bin/
 servicemanager
 root  271 832372   c009a694 afe0cba4 S /system/bin/
 vold
 radio 291