Duration: 5 Days | Price: $2495
This hands-on course conveys the fundamental skills necessary to deploy Android Apps on mobile devices such as phones and tablets. Attendees will design and build a variety of Android Apps throughout the course. Previous Java programming knowledge is not essential, but basic programming experience is required. Java code used in the exercises is fully explained.
The course emphasizes proper layout of the user interface (UI), including how to add buttons, labels, textboxes, checkboxes, images and other widgets to the UI. Students will learn how to utilize Android's XML-based layout system, which builds the UI with containers and widgets, as well as how to set wallpapers and add menus to the UI. Students practice with dialog techniques including the display of popup messages.
Students also learn how to handle screen rotation, and how to define UIs so they can adjust for different screen sizes. The course teaches students how to accept user input from keyboards (either externally attached or from the built-in keyboard), how to use the date/time picker, and how to present users with choices using Selection Lists. Students will learn how to add tabs to the UI, as well as how to display HTML content using the built-in WebKit browser.
Students will learn how to program control of state changes in the Activity Lifecycle: active, paused, stopped or dead. For instance, since Apps often run on phones, taking a call may send an App from the active state to the paused state. Or, if battery life is low the App may be forced into the dead state. Student will learn how to manage Activities moving between these states so that Apps can, for example, save inputted data before transitioning into the dead or paused state. Also related to this is the ability for an Activity to launch Sub-Activities, which allows Apps to run processes in the background (such as downloading files).
Coverage of data storage includes best practices for storing images and files. Student will also learn how to embed SQLite databases in Apps, and then use these databases to store and retrieve any kind of data.
The course emphasizes Service Oriented Architecture (SOA), and students learn how to connect Apps to web services such as Google Maps and UPS's package tracking API. In addition to using outside web services, the course also demonstrates how to use many of a phone or tablet's built-in features such as the camera, location service (which determines where the device is physically located), and the Accelerometer (which determines if the device is being tilted and how fast it's being tilted). Additional topics include how to play audio and video, and standard techniques for storage and retrieval.
Students employ the Eclipse editor and the Android Developer Tools (ADT) plugin to perform comprehensive hands on exercises throughout the course to reinforce learning and develop real competency. Various alternative App development environments are compared to Eclipse, including Flex, Air and PhoneGap. The course provides students with an introduction to a variety of Android App development resources.
Students may bring in their own Android device and USB cable, if they prefer to test on physical Android hardware. Students who do not provide their own Android devices will use Android emulators during class lab work.
Prior experience with a scripting or programming language is required. Java skills are helpful but not required.