i don't know where to put this. so i put the question here.
i start a remote service(TTSService) to speak the coming sms,and i want to stop it by shaking the device,and then i can start the service(TTSService) again with a different action to stop it .But i don't know where to put my ShakeSensor code,since i do not have a activity,and i really don't want to put it in TTSService itself.Shall i put it in annother service? or shall i try different methods?and how? many thanks


