Tuesday, October 02, 2012


Starting and stopping Android core services:

Any android core services can be started and stopped by settting properties of a core service. Application can start or stop the any service by below commands:

setprop ctl.stop serviceName
setprop ctl.start serviceName

setprop ctl.stop dhcpcd_eth0 #This will stop the dhcpcd_eth0 service
setprop ctl.start dhcpcd_eth0 #This will start the dhcpcd_eth0 service

From our system, we can communicate emulator or actual device and we can see the properties set by below commands:

>adb shell
$getprop
This will gives/lists  output of all the properties set...

No comments: