I need to write a shell script to start and stop an android service .
I can start service through
am startservice com.xxx/.service.XXXService
but i don't know how to stop it yet.