Android Bootcamp Training Course
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.
5 days.Android Bootcamp is composed of the following:
- History of Android (30 minutes)
- Android Stack (90 minutes)
- Hello Android (90 minutes)
- Architecting Android Apps (2 hours)
- Debugging and Testing Android Apps (1 hour)
- Android Security Overview (1 hour)
- Activities and User Interface (3 hours)
- Action Bar and Navigation (90 minutes)
- Preferences (90 minutes)
- Advanced UI (90 minutes)
- Services (3 hours)
- Broadcast Receivers (3 hours)
- Content Providers (3 hours)
- Lists and Adapters (90 minutes)
- Fragments (3 hours)
- Testing Overview (3 hours)
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
This 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).
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.
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...
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...
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...
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...
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...
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
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
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:
- Exercise Monkey
- Monkey Runner
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.
Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions.
Student Testimonials [top]
I really like the course. I learned all of the major components to android development and would definitely recommend this course.
Mark is an excellent teacher. His speaking style is great and easy to follow. He presents the subject in a very approachable manner. It's quite obvious he's passionate about android and is very invested in helping google make it a great platform. Giving the class free access to his books and tutorials was fantastic. Thanks Mark!
This was a great course. I really enjoyed learning what I did and I also enjoyed discussions with the instructor and would strongly recommend this course to anyone wishing to write applications for the android phone. Be prepared to work hard and learn a lot!
Excellent training! I want to continue writing Android code.
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.
Great class. I regret not taking the full week class.
Cannot think of a bad thing to say about the instructor, the presentation or the material. The instructor was extremely well-prepared and always professional while remaining friendly and accessible. His knowledge was outstanding, allowing him to troubleshoot or walk us through new material on the fly. The prepared material was nearly ideal to cover the range of topics, presented in an order that kept the course both understandable and challenging.
Overall, I was very impressed with the course, and I feel very confident designing Android applications.
Overall, very, very good class. It was extremely helpful. Marko is an outstanding insructor. Andriod Bootcamp exceeded my expectations in terms of the depth of content and coverage of a wide variety of topics. The instructor was very knowledgeable and provide many hands-on exercises which helped me get from zero to productive development in one week!
Thank you. Very useful course!
Great class -useful hands on experience and real time stuff. Right on time for our project as well !Thanks .
They aren't kidding when they say "bootcamp"!:) Great course!
The Application design training was fantastic. Great exercises and a good pace.
Great job! Hard to think of anything to improve. Marko did a fabulous job! This course saved weeks (or more) of development time! This course material was very up to date and relevant to our needs. The instructor (Marko) was extremely knowledgeable and was able to address every concern without hesitation. Best class I ever attended!
I would like more courses like android internals and security located in this area. Otherwise a great class.
One of the best training classes I ever took!!!
The training was excellent! The training provided was indeed quite extensive and helped a great deal in understanding the basic concepts of Android application programming.
Ken went above and beyond to ensure that our environment was functioning correctly and spent time outside of class developing demo apps to answer our questions. He demonstrated unlimlited patience and persistence in helping us whenever we fell behind or got stuck on the lesson.
Went beyond my expectations. With a minimal Java background, Marko went really went into basics. Will definitely pass my word to most of my friends in this technology if their company gives them off.
The course was structured with well thought out progression. The course started very simple and by the end of the course, we had developed a fairly complex working mobile app... wooo hooo :). The components implemented in our example provided applicable foundation to get me started immediately upon my return to the office. Great job, Marko!!!
I thought Sasa was very good; very technical and knows the subject very well.
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.
It helps if you have a little bit of experience with the Android platform as Mark Murphy covers a lot of topics essential for development rather quickly. However, the course, sample codes and the instructor are great and the training will save you hours of sifting through Stack Overflow for the right/efficient way of doing things.
Great course and instructor.
This was a very good course. We covered a lot of ground. Mark answered tough questions in depth.
Sasa was very thorough and knowledgeable about the topics we discussed.
This class has been such a great learning experience. Mark is so knowledgeable about Android and was a great teacher!
Ken probably saved me hours of debugging by explaining a lot of undocumented Android sdk details.
Excellent Course! Excellent Teacher!