It appears as if the code isn't working in Chapter 13 because when using a dangerous service you explicitly need to ask for permissions from the user.
https://developer.android.com/training/permissions/requesting.html
I'm not sure where the code suggesting on the Android should go?
Could you possibly provide an example on how to resolve this issue?
Thanks