Missing Toast class logic in the book


between pages 22 and 23, there was only mention about Toast class without implementation logic such as Toast.makeText(…) and Toast.show().

Do we have to refer to solutions code ? but the link of download source code from the web site does not allow me to download, it showed me permission issue.



You can find the implementation on page 24.

The solutions were giving an error, it’s true. They should be fixed now, though.


I was a little confused with the Toast class, I thought that the class needed to be created by myself. I searched for the class in google and then I found this: developer.android.com/reference/ … Toast.html

The book does not mention that the class is part of the android API.
As a suggestion, for upcoming releases of this book would be good to clarify this part.