![]() ![]() the system sends this as a wake up request and the android service is started again. Success: it's asleep, therefore the android service has sent voice commands.įailure: the device is still doing some actions though and is therefore showing an activitynotinuse message in androidmanifest.xml. sleepresult ints are returned in the following states: To make sure that the device is in fact asleep when the process is triggered, there is a check for whether the device is in doze mode, and if it is, a sleepresult int is returned. the code to launch the service has already been sent as an intent and when done, the service is started and the device goes to sleep. Hire mine-imator android service, which makes use of the google mobile services api to receive voice commands from the mobile device.
0 Comments
Leave a Reply. |