sample of customized service on Android platform(Java&native)