Code samples for "Advanced Android Application Development, Fourth Edition"