Murach’s Android Programming (2nd Edition)
by: Joel Murach
ISBN-10: 1890774936
ISBN-13: 9781890774936
Edition 版次: 2
Publication Date 出版日期: 2015-12-11
Print Length 页数: 663
Book Description
By finelybook
What this book does
This book is a great way to get started with Android programming. Here’s a brief rundown of its sections.
Section 1: Get started fast
In four chapters,you’ll quickly master the basics of Android programming. That includes:
essential concepts and terms for Android programming
how to use Android Studio to develop your first Android app,a simple but complete Tip Calculator app
how to use Android Studio to thoroughly test and debug your apps
Section 2: The essential Android skills
You’ll learn the Android essentials by enhancing the Tip Calculator app that you developed in section 1. Those essentials include:
how to use layouts and widgets to develop a sophisticated user interface
how to handle high- and low-level events
how to use themes and styles to format your app in a way that’s consistent and easy to maintain
how to use menus and preferences
how to use fragments to take advantage of the large screens that are available on devices like tablets
Section 3: The News Reader app
You’ll learn how to develop a News Reader app that displays current news to the user. Along the way,you’ll learn:
how to read an RSS feed from the Internet,save that data in a file,and display it on the user interface
how to use a service to download data for an app even when the app isn’t running
how to notify a user that new data is available even when the app isn’t the current app
how to respond to actions that are broadcast by the Android operating system or by other apps
Section 4: The Task List app
You’ll learn how develop a Task List app that stores one or more to-do lists. Along the way,you’ll learn:
how to create a database and use it to store data
how to use tabs and a custom adapter to display data on the user interface
how to use a content provider to allow other apps to work with the same data as this app
how to create an app widget that can display some of this app’s data on a device’s Home screen
Section 5: Advanced Android skills
You’ll learn some advanced skills for developing and deploying apps including:
how to create a Run Tracker app that tracks the location of a device on a Google Map
how to deploy apps to the Google Play store
Who this book is for
This book is for anyone who wants to learn professional skills for developing Android apps. The only prerequisite is a basic understanding of Java,roughly equivalent to chapters 1 through 18 of Murach’s Beginning Java with NetBeans or Murach’s Beginning Java with Eclipse. Once you have those Java skills,our Android book will work for you,even if you have absolutely no experience developing mobile apps.
What software you need
You can download all of the software that you need for this book for free from the Internet:
the Java SDK (Software Development Kit)
Android Studio,which includes the Android SDK
Appendixes A,B,and C show how to install and configure this software on Windows,Mac OS X,and Linux.
What hardware we recommend
If necessary,you can use an emulator to run and test Android apps; this book shows you how. Unfortunately,emulators tend to run extremely slowly on most computers. As a result,we recommend using an actual Android device such as a smartphone or tablet whenever possible.
What software this book supports
What version of Android this book supports
Over 95% of all Android devices use Android 4.0 (API 15) or later,and this book reflects that. The only app that won’t work with Android 4.0 is the News Reader app,which is designed to work with Android 4.1 (API 16) and later.
At the time this book was written,the most recent release was Android 6.0 (API 23). But since Android is backwards-compatible,all of the apps will continue to work under subsequent releases,too.
What IDE this book supports
This book shows how to use Android Studio to code,test,and debug apps. Although there are other IDEs for working with Android,today Android Studio is the official IDE for Android development. It’s also available for free,and it runs on all operating systems.
The perfect companion book
As you read our Android book,you may discover that your Java skills aren’t as strong as they ought to be. In that case,we recommend one of our Java books.
Murach’s Beginning Java (there’s one edition for Eclipse and one for NetBeans) is designed for programming novices. It moves at the right pace for beginners and gives you a full set of core Java skills.
But if Java isn’t your first language,you may prefer Murach’s Java Programming (4th Edition). It moves at a faster pace,and goes into more depth and breadth,especially about developing desktop applications.
No matter which you choose,these books will get you up-to-speed with the core Java skills that you need for developing Android apps.
What people say about this book
“As someone who first learnt Android programming from a confusing jumble of resources strewn across the Internet – from Google’s tutorials to StackOverflow questions to any number of random blog posts that search threw up – I can honestly say I wish I had read this book first,because it would have saved me an awful amount of time and confusion.
“The book takes the reader along a gentle basics-to-advanced learning path that quite accurately addresses at every step what a new developer should learn next,both on the front end and back end.”
– Karthik Shiraly,CodeRanch
“After going through the entire book,I feel this really gives people an end-to-end coverage of getting into android application making. It is geared towards folks looking to get a handle on a complex topic; walking through the chapters it really presents material in a great fashion. The exercise and homework questions are on point,the writing clear,and the example applications germane and useful. A perfect book for someone who is stuck on the hurdle of ‘where do I start.’”
– Jeremy Johnson,Dream in Code
“Taking into consideration the well-structured content,clear and concise writing style,practical code samples and exercises,I think this book serves as an excellent learning tool to those who are getting their feet wet in the world of Android programming or who just want to update their core Android programming skills.”
– Jason Ong,ASPNETWorld
“Want to get into Android programming fast and seamlessly? This book is all you need to create an application from scratch and publish it successfully to Google Play Market.”
– Igor Rolinsky,Chicago Java Users Group
Related Books
Contents
Section 1 Get started fast with Android
Chapter 1 An introduction to Android and Android Studio
Chapter 2 How to start your first Android app
Chapter 3 How to finish your first Android app
Chapter 4 How to test and debug an Android app
Section 2 Essential Android skills
Chapter 5 How to work with layouts and widgets
Chapter 6 How to handle events
Chapter 7 How to work with themes and styles
Chapter 8 How to work with menus and preferences
Chapter 9 How to work with fragments
Section 3 The News Reader app
Chapter 10 How to work with threads,files,adapters,and intents
Chapter 11 How to work with services and notifications
Chapter 12 How to work with broadcast receivers
Section 4 The Task List app
Chapter 13 How to work with SQLite databases
Chapter 14 How to work with tabs and custom adapters
Chapter 15 How to work with content providers
Chapter 16 How to work with app widgets
Section 5 Advanced Android skills
Chapter 17 How to deploy an app
Chapter 18 How to work with locations and maps