0% found this document useful (0 votes)
112 views

Advanced Android Development Course: Brought To You by The Google Developers Training Team

This document provides an overview of an advanced Android development course. The course takes developers to the next level by covering topics like fragments, performance optimization, accessibility, and location services. It includes step-by-step practical exercises, concept guides, slides, and sample code. The course is divided into units that can be taken individually or as a whole. Topics covered include expanding the user experience with fragments and widgets, improving performance through memory and network profiling, and making apps more accessible.

Uploaded by

Siagian Herri
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views

Advanced Android Development Course: Brought To You by The Google Developers Training Team

This document provides an overview of an advanced Android development course. The course takes developers to the next level by covering topics like fragments, performance optimization, accessibility, and location services. It includes step-by-step practical exercises, concept guides, slides, and sample code. The course is divided into units that can be taken individually or as a whole. Topics covered include expanding the user experience with fragments and widgets, improving performance through memory and network profiling, and making apps more accessible.

Uploaded by

Siagian Herri
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 46

Advanced

Android
Development
course
Brought to you by the
Google Developers Training team

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 1
License.
Contents

● Welcome to our new Advanced Android Development


course
● What will you learn in this course?

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 2
License.
Introduction

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 3
License.
Next steps in the Android developer journey

Android Developer Fundamentals Advanced Android Development


Take off on your journey to Now go deeper into advanced
becoming an Android app developer Android development concepts
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 4
License.
Who is the audience for this course?

● Java programmers who have basic knowledge of


building Android apps
● Preferred: Developers who have taken the Android
Developer Fundamentals course

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 5
License.
About the course

● Takes you to the next level of Android development


● Intended to be an instructor-led course
● All materials are available online
● Self-motivated learners can work through practicals on
their own

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 6
License.
Materials
● Concepts guide
● Practicals
● Slides
● Source code in GitHub
● Everything is available online
● Released under Creative Commons License

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 7
License.
Step-by-step practicals

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 8
License.
Concepts guides

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 9
License.
Slide decks

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 10
License.
Source code for sample apps in GitHub

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 11
License.
Course structure
● Course is divided into units
● Each unit is independent of other units
You choose:
● Teach the whole course
● Teach specific units
● Add units to your existing Android dev curriculum

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 12
License.
What does the course cover?
● Unit 1: Expand the user experience
● Unit 2: Make your apps fast and small
● Unit 3: Make your apps accessible
● Unit 4: Add geo features to your apps
● Unit 5: Advanced graphics and views
● More units coming in early 2018, including media playback
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 13
License.
Unit 1
Expand the user experience

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 14
License.
Expand the user experience
In Android Developer Fundamentals you learned how to use
layouts to display activities.
Now learn about fragments, widgets, and sensors to improve
the experience your users have with your app.

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 15
License.
Lesson 1.1 Fragments
Learn that a fragment:
● Represents a section of a UI
● Can be reused
● Is created statically in XML
or dynamically in code
Build an app:
● Use a fragment to get user
feedback
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 16
License.
1.2 Communicating with fragments
Learn how to:
● Send data to and from
fragments
● Implement master/detail
layout for wide screens
Build an app:
● Use fragment to show
song details
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 17
License.
2.1 App widgets
Learn how to:
● Implement a widget for your app
● Make the widget respond to user actions

Build an app:
● App widget updates automatically and on
demand

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 18
License.
3.1 Working with sensor data
Learn how to:
● Get available sensors
● Register listeners for sensor data
● React to incoming sensor data
Build apps:
● Display all available sensors
● Display data from light and proximity
sensors
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 19
License.
3.2 Sensor-based orientation
Learn about:
● Accelerometer and magnetometer
● Sensor coordinate systems

Build an app:
● Display shapes to show angles and
orientation detected by accelerometer and
magnetometer
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 20
License.
Unit 2
Performance: Make your apps fast and small

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 21
License.
Make your apps fast and small
What is good app performance, and why does it matter?

Learn how to keep your app fast and small so your users stay
engaged. Use tools to measure performance and identify how
to improve it.

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 22
License.
4.1 Performance: Rendering and layout
Learn about:
● How layout and drawing affects your
app's performance
● Tools to detect performance problems

Do: Overdraw is drawing one


● Use tools to analyze drawing pixel on top of another
performance
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 23
License.
4.2 Performance: Memory
Learn about:
● Memory leaks
● The Memory Profiler tool

Do:
● Use the Memory Profiler tool

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 24
License.
4.3 Network, battery, image performance
Learn about:
● Text and image performance
● What affects battery drain
● Network best practices
Do:
● Run the Network Profiler tool
● Use battery visualization tools
● Convert images to WebP format
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 25
License.
Unit 3
Unit 3: Make your apps accessible

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 26
License.
Make your apps accessible
Make your apps accessible to users with varying abilities, and
in different languages and locales.

Accessible apps reach more users.

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 27
License.
5.1 Languages and layouts
Learn how to:
● Support different languages

Build an app:
● Use Translations Editor to add
translations
● Add support for right-to-left
languages

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 28
License.
5.2 Locales
Learn about:
● Locales
● Formatting dates, times,
numbers, currencies
Build an app:
● Show date, quantity, and price 6 of August?
of candy in the user's locale
8 of June?
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 29
License.
6.1 Accessibility
Learn about:
● Accessibility features in Android
● Best practices for making accessible apps

Do:
● Explore accessibility features on your device
● Use Google Talkback
● Test your app's accessibility

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 30
License.
Unit 4
Add geo features to your app

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 31
License.
Add geo features to your apps
Did you know that you can add many of the features provided
by Google Maps to the Android apps you build?

This unit shows how to detect and show the user's location,
show nearby places, and insert maps into your apps.

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 32
License.
7.1 Location
Learn how to:
● Get the device's location
● Get address from longitude and latitude
● Update the location

Build an app:
● Update the user's location as they walk

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 33
License.
8.1 Places API
Learn how to:
● Use Places in your app

Build an app:
● Show a list of nearby places
● Update UI depending on kind of place

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 34
License.
9.1 Add a Google Map to your app
Learn about:
● Integrating Google Maps in your app
● Map types and styles
● Markers and points of interest
Build an app:
● Add map types and markers
● Style your map
● Enable location tracking and Street View
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 35
License.
Unit 5

Advanced graphics and views

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 36
License.
Advanced graphics and views
Android Studio comes with lots of predefined views, from
buttons to seek bars. You can customize their appearance
with attributes and use drawables for customized
backgrounds.
But sometimes you want even more control over the way your
UI elements are rendered.
This unit teaches advanced graphics and views to help you
draw exactly the UI elements you have in mind.
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 37
License.
10.1 Custom views
Learn about:
● Custom views — when, why, how

Build an app:
● Create a custom TextEdit view
● Create a custom fan-controller view

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 38
License.
11.1 Canvas
Learn about:
● Canvas, Paint
● Clipping regions
● Responding to button clicks
Build an app:
● Simple canvas app
● Let user draw sketches
● Canvas with different clipping regions
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 39
License.
11.2 SurfaceView
Learn how to:
● Use SurfaceView to perform drawing
operations outside the main thread

Build an app:
● Search for an Android robot hiding in
the dark

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 40
License.
12.1 Animation
Learn about:
● Different kinds of animation in Android
● Creating property animators
● Use AnimatorSets to play multiple
animations

Build an app:
● Animate a circle expanding and shrinking
This work is licensed under a Creative
Advanced Android Development Commons Attribution 4.0 International 41
License.
Where is everything?

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 42
License.
Google Developers Training website
● To find all the materials for the course go to:
developers.google.com/training
● Go to COURSES tab

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 43
License.
Choose the course
In the left hand menu, choose
Advanced Android Development

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 44
License.
Advanced Android Development

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 45
License.
END

This work is licensed under a Creative


Advanced Android Development Commons Attribution 4.0 International 46
License.

You might also like