Covering Java 7 and Android Development
In just 24 lessons of one hour or less, you can learn how to create Java applications. Using a straightforward, step-by-step approach, popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even an Android app in Java.
Full-color figures and clear step-by-step instructions visually show you how to program with Java.
Quizzes and Exercises at the end of each chapter help you test your knowledge.
Notes, Tips, and Cautions provide related information, advice, and warnings.
Learn how to…
- Set up your Java programming environment
- Write your first working program in just minutes
- Control program decisions and behavior
- Store and work with information
- Build straightforward user interfaces
- Create interactive web programs
- Use threading to build more responsive programs
- Read and write files and XML data
- Master best practices for object-oriented programming
- Create flexible, interoperable web services with JAX-WS
- Use Java to create an Android app
HOUR 1: Becoming a Programmer
HOUR 2: Writing Your First Program
HOUR 3: Vacationing in Java
HOUR 4: Understanding How Java Programs Work
PART II: Learning the Basics of Programming
HOUR 5: Storing and Changing Information in a Program
HOUR 6: Using Strings to Communicate
HOUR 7: Using Conditional Tests to Make Decisions
HOUR 8: Repeating an Action with Loops
PART III: Working with Information in New Ways
HOUR 9: Storing Information with Arrays
HOUR 10: Creating Your First Object
HOUR 11: Describing What Your Object Is Like
HOUR 12: Making the Most of Existing Objects
PART IV: Programming a Graphical User Interface
HOUR 13: Building a Simple User Interface
HOUR 14: Laying Out a User Interface
HOUR 15: Responding to User Input
HOUR 16: Building a Complex User Interface
PART V: Moving into Advanced Topics
HOUR 17: Creating Interactive Web Programs
HOUR 18: Handling Errors in a Program
HOUR 19: Creating a Threaded Program
HOUR 20: Reading and Writing Files
PART VI: Writing Internet Applications
HOUR 21: Reading and Writing XML Data
HOUR 22: Creating Web Services with JAX-WS
HOUR 23: Creating Java2D Graphics
HOUR 24: Writing Android Apps
PART VII: Appendixes
APPENDIX A: Using the NetBeans Integrated Development Environment
APPENDIX B: Where to Go from Here: Java Resources
APPENDIX C: This Book’s Website
APPENDIX D: Setting Up an Android Development Environment