IDK, haven't tested the code on any new devices. Try taking out any timing code in the example. There have been reports of timing code causing problems on newer phones. The book has aged much more quickly than the norm due to the evolution of the Android SDK. So, I doubt if it will be viable for another year in the more specific examples such as the sensors.