Android Bootcamp Training Course

Course Summary

The Android™ Bootcamp Training Course is a hands-on introduction to designing and building mobile applications using the Android™ open source platform. Android™ Bootcamp explains the philosophy of developing for Android™ through its main application development building blocks and their interaction with one another.

This completely hands-on course encourages students to learn by building increasingly more sophisticated and meaningful mobile applications for Android™.

By the end of the course, each participant will build their own complete Android application incorporating most of the key aspects of the platform. Typically, we build a Twitter app for Android, but there are other choices depending on the interests of participants.

 

Duration [top]

5 days.

Android Bootcamp is composed of the following:

Objectives [top]

Upon completion of this course, you will be able to:

  • Build your own Android apps
  • Understand how Android™ applications work, their life cycle, manifest, Intents, and using external resources
  • Design and develop useful Android™ applications with compelling user interfaces by using, extending, and creating your own layouts and Views and using Menus
  • Take advantage of Android's Application Framework API to build complex applications
  • Utilize the power of background services, threads, and notifications
  • Use Android's communication APIs for SMS, telephony, network management, and internet resources (HTTP)
  • Secure, tune, package, and deploy Android™ applications

Audience [top]

BootcampThis course is designed for software developers interested in designing, creating, deploying, and testing applications for the Android™ mobile phone platform. It is valuable to both novices as well as gurus (who already have experience in developing mobile applications for other platforms).

Prerequisites [top]

To take this course, you must know Java. You should be able to answer most of the following questions:

  • What is a difference between a class and an object?
  • What is the difference between static and non-static field?
  • What is the difference between extends and implements keywords?
  • What is an anonymous inner class?
  • What is the purpose of @Override?

To refresh your Java skills you can review NewCircle's Fundamentals of Java tutorial.

Additionally, knowledge of Eclipse is required. You could watch this 30-minute Eclipse tutorial to get up to speed.

Instructors [top]

Photo

Adam Breindel brings over 10 years of successes working with cutting-edge technology for small startups as well as major players in the travel, media/entertainment, financial, productivity, and consulting industries.

In addition to web sites, GUI applications, and mobile device software, Adam has also built high-volume middleware for one of the world's largest banks, and produced a new, modern integration to a 1960s-vintage mainframe app for one of the world's largest airlines.

Adam focuses on designing and coding systems in a way that yields predictable results, leverages best practices and high-productivity tools, minimizes excess code, and is fun to do. He has also spoken at tech conferences, written articles and skill assessments, and produced an open source tool for software development. Adam has enjoyed teaching large and small groups, covering topics from nuts-and-bolts Java programming to merging ideal process with real-world constraints in an organization.

More about Adam Breindel...
Photo

Geoff spends most of his time leading a team developing specialized Android and iOS apps for law enforcement and regulatorily agencies. He is also an independent app developer with apps on the Apple App Store and Google Play Store. Geoff has been an adjunct professor at Loyola University Maryland in the Computer Science Graduate Program since 2003.

Geoff recently presented an class at AnDevCon 2013 in Boston on Automated Build Processes for Android Apps.

More about Geoff Matrangola...
Photo

He is an experienced developer and has spent a majority of his career building large-scale online applications at Accenture and at several Web-centric consulting firms. He now specializes in training Java developers to be more productive by using the latest technologies and frameworks. Jim has provided training for Fortune 500 companies and large private and governmental organizations including Knight Ridder Newspapers and the State of Wisconsin. He lectures extensively throughout the United States and Canada. He is also the author of "Dojo: Using the Dojo JavaScript Library to Build Ajax Applications".

More about James Harmon...
Photo

Marius Mailat has been developing commercial software since 2000. His focus is mobile applications architecture and development for Android, QNX and iOS. 

He is an experienced Java developer who spent the majority of his career building large-scale Java applications for Xerox and Sabre Travel Network in Germany.

Android projects in which he has been involved are banking interfaces and shopping tools for Android. His interest in the secrets of Android platform was geared towards building Defense Squad Mobile Security app, a free, simple to use and innovative Android security solution. Marius is the founder of the Romanian Android Community Androider.ro which has now around 5000 active members.

More about Marius Mailat...
Photo

Maximiliano Firtman is one of the leading experts in mobile and web 2.0 development in the Americas today. From development and private consulting work, to writing books and speaking at conferences, to training some of the most advanced software teams around the globe. Max has been a Nokia Developer Champion since 2006 and Adobe Community Champion since 2011. He is the author of the book Programming the Mobile Web and the upcoming jQuery Mobile: Up & Running, both published by O'Reilly Media. He has also written books in Spanish distributed in Latin America and Spain, such as AJAX, Web 2.0 Para Profesionales. You can follow him on twitter at @firt.

Today Max focuses on HTML5, CSS3, mobile web, multiplatform hybrid development and WPO (Web Performance Optimization). His Mobile Web Programming Blog discusses mobile web development with quite good success finding new things on devices (such as the accelerometer API in iOS) and creating the most complete mobile emulator guide up to now. He has also launched the free service Mobile Tiny URL for easy URL typing on mobile devices. In September 2011 Max has also created a new project Mobile HTML5, a compatibility tableof every mobile platform and its HTML5 support.

Max is the founder of two user groups: ARFUG -official Adobe User Group- and Mobile Argentina; and has organized lot of events in the last years, including MobileCamp and Adobe en Vivo Argentina. Max has presented at many conferences across the US, Europe and South America like Velocity, OSCON, Breaking Development, Nokia Talk, goto conference;, Campus Party, Adobe Lite Days, Adobe en Vivo, MobileCamp, and BarCamp.

More about Max Firtman...
Photo

With over 20 years of experience in the tech industry, Ralph Tavarez has worked with big companies like Texaco, Morgan Stanley, Viacom, and the global cell phone distributor Brightstar. He has prior experience with startups as the CTO of the US division of Submarino.com, the Amazon of Brazil.

Ralph has focused primarily on mobile development, since the launch of the iPhone, and has real work experience with successful apps such as the Android port of Control4, a home automation product available at Best Buy.

As an instructor, Ralph brings current real-world experience to mobile development and practical solutions to common mobile development challenges.

More about Ralph Tavarez...

Outline [top]

History of Android   (30 minutes)

History of Android module focuses on how we got here. The goal of the module is to give us an idea of design philosophy behind Android, and what it may say about the future of the platform. At this high level, we explore both technical and business choices that effect the platform for a long time. We'll look at how and Android operating system gets put together by various parties involved, from Google to carriers. Topics in this module include:

  • Vision for Android
  • History overview
  • Android Open Source Project (AOSP) versions
  • OEM add-ons
  • Third Party Android add-ons
  • Carrier Bloatware
  • Android fragmentation
 

Android Stack   (90 minutes)

Understanding how the entire Android operating system is put together is important in order to understand how to leverage everything it has to offer. This module provides an overview of each layer of the stack and its role. We'll look at both the business and the technical design choices. Topics in this module include:

  • Design philosophy
  • Open Source licenses
  • Linux kernel space
  • Native layer
  • Dalvik VM
  • Application layer
  • Apps

Hello Android   (90 minutes)

The goal of this module is to have you write a simple Hello, World application. By the end of this module, you should be able to identify main parts of an Android app. You should also be able to verify that your tools are setup properly and that you can run the application on an Android device, either physical or emulated. Topics covered include:

  • Android SDK: How to set it up and what it consists of
  • About Eclipse: The power of the tools
  • Creating a new Android project
  • Anatomy of a project: What are all the moving parts
  • Running the app: Emulator, real device, tools to monitor them both

Architecting Android Apps   (2 hours)

Android framework provides some new and different concepts for developing an app. The goal of this module is to introduce you to main components used to create Android apps. By the end of this module, you should have a good idea what Android app building blocks are, and their key properties. For each building block, we'll explore its typical usage, the life-cycle, and gotchas related to the implementation. Most of the focus of this module is on the conceptual understanding at the lines-and-circles level of the design. Topics covered include:

  • What makes up an Android app
  • Activities and Android UI
  • Fragments and best practices for reusable UI
  • Intents, Action Bar, and More
  • Services, IntentServices, Remote Service
  • Content Providers and Loaders
  • Lists and Adapters
  • Broadcast Receivers
  • App Widgets
  • Federation of apps design model

Debugging and Testing Android Apps   (1 hour)

This module provides an overview of some of the tools available in Android SDK that can help you with debugging and testing your apps. By the end of this module you should have a general knowledge of what tools are available and how to use them. The tools we'll explore include:

  • Logcat
  • Debugger
  • Traceview
  • HierarchyViewer
  • Syslog
  • Exercise Monkey
  • Monkey Runner
  • UIAutomator

Android Security Overview   (1 hour)

The goal of this module is to provide high level overview of how Android security is architected. By the end of this module, you should know how the apps are sandboxed how the security is enforced. Topics covered include:

  • Security design overview
  • Application sandboxing
  • Using permissions
  • Declaring permissions
  • Granting and enforcing of permissions
  • Social vectors of attack
  • Top 10 Bad Permissions

Activities and User Interface   (3 hours)

In this module, you will learn how to create basic user interface in Android. You will learn that there is a declarative (XML-based) as well as programmatic (Java-based) approach to creating Android UI. Additionally, you will learn about activities, one of the most important building blocks for Android apps. You will explore at length the lifecycle of an activity as it is highly managed by the system and is important to understand from performance point of view. Topics in this module include:

  • Two ways to create Android UI: XML versus Java approach
  • Main view properties: width, height, ids, strings, and more
  • Structure of UI: Views and Layouts
  • Linear Layout vs. Relative Layout vs. Frame Layout vs. Absolute Layout
  • Localization of UI
  • Best practices for targeting various form factors: phone, tablet, TV
  • Handling UI events: a bit about listeners
  • Best practices when working designing Android UI

Action Bar and Navigation   (90 minutes)

Your app is a collection of various "screens", implemented as activities. You also may have a few services, and other features that require a button to click to activate. Android offers a standardized method for managing menus and navigation across various components of your app in its Action Bar framework. In this module, you will learn how to use Action Bar to implement navigation in your app. Topics include:

  • What Action Bar is
  • Enabling the Action Bar
  • Removing the Action Bar
  • Adding Action Items
  • Split Action Bars
  • Using the App Icon for Navigation
  • Implementing the "Go Home" App Icon Feature
  • Implementing "Up" Navigation with the App Icon
  • Adding Navigation Tabs
  • Adding Drop-down Navigation

Preferences   (90 minutes)

Your app often needs to store some user data for future use. For example, it needs to know user's login information for an online service, or other settings. Android framework offers a system for just doing that in form of Preferences. In this module, you will learn how to use preferences within your app. Topics include:

  • Overview of preferences
  • Preference resource: defining what you'll store locally
  • Preference activity: displaying the preference screen
  • Reading in the preference values
  • Programmatically editing the shared preferences
  • Registering for preference changes via a listener
  • Filesystem overview: where are the files stored and is it secure

Advanced UI   (90 minutes)

This module introduces some of the advanced UI techniques that will make your user interface, and experience stand out of the rest. Topics include:

  • Create activity layouts programmatically
  • Incorporate layout resources into a programmatic layout
  • Account for a device's screen resolution when programmatically setting screen dimensions
  • Designing for performance
  • Designing for multiple form factors
  • Testing and optimizing UI

Services   (3 hours)

An Android application is just a collection of various building blocks. Services are one of the major such blocks. They represent something working in the "background" in your app. By background, we mean it is not visible, but is crucial to the functionality of you app. In this module you will learn what services are, when to use them, how they work, and how to implement them. Topics covered include:

  • Overview of Android services
  • Service lifecycle
  • Declaring a service
  • Registering a service
  • Starting and stopping a service
  • Threads and other concurrency considerations with services
  • Bound versus unbound services
  • Remote versus local services

Broadcast Receivers   (3 hours)

Broadcast receivers are Android's publish-subscribe mechanism that. It is an essential part of most Android apps. In this module, you will learn when to use broadcast receivers, how to implement them, as well as register them for intent actions. Topics covered include:

  • Broadcast receiver usage patterns: when and why to use them
  • Implementing a broadcast receiver
  • Registering a broadcast receiver via the manifest file
  • Registering a broadcast receiver programmatically

Content Providers   (3 hours)

An Android app by default cannot access another app's data. This is the cornerstone of Android security, the principle of sandboxing. But often, you do want an app to share some data with others. Content providers are such an interface to data so that the data cab be mashed together across apps. In this module, you will learn how to design and develop content providers. Topics covered include:

  • Why content providers: an overview
  • Using existing content providers: creating client code that can read and modify the data managed by a content provider
  • Creating a content provider: implementing a basic content provider to expose structured data to other applications
  • Intelligent data loading: using loaders to retrieve a Cursor from a content provider without blocking your application's main thread

Lists and Adapters   (90 minutes)

Android apps often have to deal with data, and frequently large amounts of it as well. Think an email client, opening up a mailbox of tens of thousands of emails. Given that the screen itself is rather small, and network connection often limited, the intelligence of how to efficiently handle large data sets on the screen is crucial to many apps. To help with that, Android offers a number of selection widgets, such as a list view. It also provides for a management of data that such widget display in a form of adapters. In this module, you will learn how to work with Lists and Adapters. Topics covered include:

  • Overview of selection widgets
  • Working with lists
  • Working with adapters
  • Implementing a list view and connecting it with an adapter
  • Creating custom item views
  • Creating custom view bindings

Fragments   (3 hours)

Android runs on variety of devices, from phones with small screen sizes, to tablets and large-screen TV sets. Fragments in a nutshell represent a smaller part of a user interface that could take a whole screen, or be part of a larger UI. By creating and using fragments, your app can adapt to variety of devices and screen sizes. In this module, you will get a solid overview of fragments and will learn how to design them, develop them, and use them both statically and dynamically. Topics covered include:

  • What is a fragment: an overview and motivation
  • The compatibility package: targeting pre-Honeycomb devices
  • Fragment lifecycle
  • Creating a fragment class
  • Creating a fragment layout
  • Statically including fragments in an activity
  • Dynamically attaching fragments
  • Handling run-time configuration changes
  • Retaining Fragments Across Activity Re-Creation
  • Using Fragments with no Layouts
  • Finding Fragments
  • Fragment Operations
  • Performing Fragment Transactions
  • Managing the Fragment Back Stack
  • Integrating Fragment Action Bar/Options Menu Items
  • Integrating Fragment Action Bar/Options Menu Items (example)
  • Communication Between the Fragment and the Activity
  • Best Practices: Loose Coupling of Activities and Fragments
  • Best Practices: Define Fragment Interfaces to Invoke Activity Behavior
  • Best Practices: The Activity as a Switchboard
  • Advanced Fragment Initialization
  • Implementing Dialogs Using Fragments
  • Using a Fragment-Based Dialog
  • Fragment-Based Preference Management
  • Additional Fragment Subclasses

Testing Overview   (3 hours)

Testing is an important part of any app development. There are many facets of testing, such as unit testing, performance, or functional testing. In this module, you will get an overview of various tools that Android supports for testing apps. Topics covered include:

  • Testing guidelines: why test and what to test
  • JUnit framework: general overview of unit testing and Java's JUnit framework
  • Android's unit testing framework: focus on Android JUnit extensions and how to use them to unit test your code
  • Using the exercise monkey test tool: pseudo-randomly testing the UI
  • Using monkeyrunner tool: scripting functional test cases for your app
  • Other testing tools and frameworks: the third-party resources

Additional Notes [top]

Android SDK Version

This course is constantly updated for the latest Android SDK, but the instructor will discuss differences between releases as well.

Trademark Notice

Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions.


Student Testimonials [top]

Great Course!...the Instructor Ken is so much prepared, kind, polite, always available to answer to all questions...and he is a GREAT person!

Emiliano - Telecom Italia

I thoroughly enjoyed doing the course. I would like to certainly consider doing advanced Android training course.

Satya - N/A

... Great course, Ken Jones is [an] excellent [instructor] and [he] was able to find out any issue that we could encounter so far developing Android apps

Andrea - Telecom Italia

Excellent and thorough course for Android application development. Marko is one of the most competent instructors I have ever had. Great job!!

Nicole - Self

This course was great! Marko was professional and at the same time created an easygoing learning environment. The small class size allowed for easy interaction with the instructor. I definitely feel like I can tackle my own android apps now.

David - Texas A&M University

Great overall course for Android development. Not going to make me an expert overnight, but definitely pointed me in the right direction to get up and running. Great Job Ken! You know your stuff.

Spencer - Student

Great Class!!! Mark had very good in-depth knowledge.

Karthik - Lawrence Berkeley National Laboratory

Coverage of the android tools like logcat and shell was excellent and invaluable. The trainer was highly effective and entertaining. I would definitely take another course with him. The Android Bootcamp provided a solid foundation and increased my understanding of the platform dramatically.

Kevin - Tessada & Associates, Inc.

Overall, I thought the class was excellent. Sasa was very adaptable to the changing format of the class -- given that the class was originally focused on a pure programming class and changed to more of a high-level architecture class.

Samson - T-Mobile

Overall great course to get started with Android with lots of in dept information on how to do a good working app.

Guido - University of Zurich

Excellent Course! Excellent Teacher!

John - Blackbird Technologies

Good job Marko. Well rounded effort. This was a good course to get into android. The trainer (Marko) did a good job customizing the course for us and then covering all the topics of interest for us. His command of the tool helped in making this a good course.

Rangaprabhu - InterDigital

Thank you. Very useful course!

William - Sharp Labs

The Android Bootcamp class was very well taught with beautiful illustrations (both slides and examples). I really appreciated the on-the-spot learning as we developed our own application in class. Marko is very well versed in Android and is able to communicate effectively to the students. I felt that my questions were answered. Marko also adjusted the flow of the course based upon the interests of the students. We touched both on the internals of Android, the evolution of Android, and some basic security issues. I would recommend this course to any level developer.

Amy - Motorola Solutions, Inc.

Overall though, Sasa did an excellent job in presenting the material and I do feel empowered to go and develop Android applications. I would definitely recommend this training to anyone interested in learning about Android.

David - HBO

This course was very informative. It took 1 project and incorporated the main parts of Android and the instructor made it easy to understand. I would recommend it to anyone who is interested in Android development. Its better than reading books!!
Ken kept the class light and interesting. He was very responsive to student questions, and was anxious to ensure understanding.

Kenneth - Genworth Financial

Ken is highly knowledgeable in the subject area and gave very concise explanations. His teaching style kept me engaged and gave me all the tools I'll need to continue learning android development. I also picked up a ton of best practices. Overall I found the course to be exactly what I needed!
Training was fantastic! I was not the ideal candidate for this training as I needed only enough theory and applications info to manage an internal team and outsourced developers. Mark's deep understanding and instant recall of Android, Java, other software, hardware and applications is phenomenal! This class is worth it's weight in gold for ANYONE who has any interest in Android Development. Let me stress, that not only Mark's knowledge, but his style and delivery are unmatched. Great job Mark!

Louis - BrickHouse Security

Excellent class...

Sung - Raytheon

I really thought the instructor was excellent. He kept the students focused on his lecture and answered all questions. His communication and presentation skills were very good.

Anna - Intel Corporation

It was a great learning opportunity. Also this provided a sneak peek review of all abilities and implementation android provides. I had a great experience!!!

Shyamali - Sandia National Labs

Great course. I have a better understanding of Android and am able to code apps. A good refresher on Java. Thanks for the great class.

John - Hewlett-Packard

Fantastic!

Ryan - NCM Media Networks

Awesome job! Thanks!

Juyong - Qualcomm, Inc.

Great Teacher!

Rafael - Venturus

Marko, GREAT class! Thanks.

Wes - Innovation Works

Marko is a great teacher and explains how things work well. I learned a lot during the class. It really worth the trip from Taipei to San Francisco.

Patrick - MediaTek Inc.

The class was superb! I wasn't exactly sure what I wanted to learn or get out of the class, but the class not only got me excited about the subject, but satisfied my curiosity as it evolved.

Vadim - Department of Veterans Affairs

Great class. I regret not taking the full week class.

Paul - DoD