Code listings and sample projects from "Professional Android" (4th Edition) by Reto Meier and Ian Lake (ISBN: 978-1118949528)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Compass_ch14/Compass Initial checkin of all code samples and projects. Sep 20, 2018
Compass_ch16/Compass Initial checkin of all code samples and projects. Sep 20, 2018
Compass_ch5/Compass Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch10/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch11_Part1/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch11_Part2/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch12/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch13_part1/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch13_part2/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch15/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch19_Part1/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch19_Part2/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch3/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch5_1/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch5_2/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch7/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch8/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Earthquake_ch9/Earthquake Initial checkin of all code samples and projects. Sep 20, 2018
Emergency_Responder Initial checkin of all code samples and projects. Sep 20, 2018
GForceMeter Initial checkin of all code samples and projects. Sep 20, 2018
HelloWorld Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch10 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch11 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch12 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch13 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch14 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch15 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch16 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch17 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch18 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch19 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch2 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch20 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch3 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch4 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch5 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch6 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch7 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch8 Initial checkin of all code samples and projects. Sep 20, 2018
Snippets_ch9 Initial checkin of all code samples and projects. Sep 20, 2018
StarSignPicker_ch6 Initial checkin of all code samples and projects. Sep 20, 2018
Weatherstation Initial checkin of all code samples and projects. Sep 20, 2018
WhereAmI_ch15_part1 Initial checkin of all code samples and projects. Sep 20, 2018
WhereAmI_ch15_part2 Initial checkin of all code samples and projects. Sep 20, 2018
WhereAmI_ch15_part3 Initial checkin of all code samples and projects. Sep 20, 2018
WhereAmI_ch15_part4 Initial checkin of all code samples and projects. Sep 20, 2018
WhereAmI_ch15_part5 Initial checkin of all code samples and projects. Sep 20, 2018
.gitignore Initial commit Aug 12, 2018
LICENSE Initial commit Aug 12, 2018
README.md Update README.md Sep 22, 2018

README.md

Professional Android, 4th Edition Code Downloads

https://www.amazon.com/Professional-Android-Reto-Meier/dp/1118949528

Reto Meier and Ian Lake

Copyright 2018 John Wiley Wiley & Sons, Inc.

For each chapter that includes a sample project and/or a number of code snippets provided as "Listings", you'll find the corresponding source code within these archives for your copy/pasting pleasure.

The fully worked samples (Compass, Earthquake, EmergencyResponder, GForceMeter, Weather Station, Where Am I, Hello World, and Star Sign Picker) are named as appropriate, suffixed with the corresponding chapter number (and where necessary the revision number within the chapter), representing each stage in the project.

You can import these projects directly into Android Studio, then compile and run them.

The source code from every code listing is available in the "snippets" archives, with the chapter number suffix (Eg. Snippets_ch2). Please note that these listings have been provided within Android Studio projects to provide a simple way for you to cut and paste useful code snippets, and to provide some additional context around how several of these independent snippets may work together, but they are not intended to represent complete examples.

In both cases, it's inevitable that the version of the dependencies used within these projects -- such as the support library, Android Architecture Components, Google Play services, Gradle, and the Android SDK -- will need to be updated to match the latest versions available. We recommend always targeting the latest version of the Android SDK, and using the latest versions of external libraries.

We hope you have fun with the sample projects and that you find them and the code snippets useful in creating your own Android applications!