December 2012
Intermediate to advanced
960 pages
21h 23m
English
Chapter 1 introduced Univerter, an app for performing unit conversions. Although lack of space in that chapter prevented a detailed exploration of this app’s architecture, Appendix D compensates by exploring Univerter’s source code, resource files, and its manifest.
Univerter’s source code is spread across four files: Category.java, Conversion.java, Converter.java, and Univerter.java. Each file begins with a package statement, which indicates that the file’s class is a member of the ca.tutortutor.univerter package. Every reference type that is part of an app must belong to a package.
NOTE: All reference types except for those being reused from another app must belong to the same package. ...
Read now
Unlock full access