RTD Training & Development

Android Programming with Java

Call us on +44 (0)1225 66 72 72 or send us a message

Android Programming with Java

5 days hands-on £2,425+VAT

This course can be delivered over the web

Next scheduled date:
Monday June 17th, 2024 Enrol Now!

Can't wait that long? It may be possible to deliver this course at an earlier date. Contact us if you're interested
Covers the essentials of programming apps for Android devices using Java. Even though Google has changed it's preferred Android language to Kotlin, most Android apps are still written in Java.

Outline

Basics

  • Major Features of Android Studio
  • App structure overview
  • Creating new app projects
  • Building apps
  • Running apps on the emulator
  • Running apps on hardware

Activities

  • The activity layout file
  • Layouts
  • Views
  • Resources
  • Android Studio layout editor
  • The activity class
  • Activity lifecycle
  • Event handlers
  • Explicit and implicit intents
  • Launching other activities
  • Passing data between activities
  • Using RecyclerView

Fragments

  • Benefits of using fragments
  • Creating fragments
  • Passing data between fragments and activities
  • Passing data between fragments

Persistence

  • ViewModels
  • State Bundles
  • Shared Preferences
  • The app sandbox
  • Assets
  • SQLite databases
  • The Room component library
  • LiveData
  • Configuration changes

Dialogs and Menus

  • AlertDialogs
  • Custom dialogs
  • Dialog fragments
  • Passing data into and out of dialogs
  • The app bar
  • Menus

Testing, Debugging and Publishing

  • The Android Studio debugger
  • Unit testing with JUnit
  • User interface testing with Espresso
  • Publishing on Google Playstore

Graphics and Multimedia

  • Touch events
  • Custom views and the onDraw event
  • Accessing the camera
  • Storing photos and videos
  • FileProviders
  • Scaling bitmaps for display
  • Checking availability of hardware features
  • Audio playback
  • SoundPools

Customisation

  • Styles
  • Themes
  • XML drawables
  • Localisation
  • Android Studio translation editor
  • Accessibility
  • TalkBack

Networking

  • HTTP networking with the Retrofit library
  • Network permissions
  • Sending web requests
  • Processing web responses
  • Implementing ReST clients
  • JSON data conversion
  • Legacy XML data converters

Background Tasks

  • Multi-Threading
  • Loopers
  • Handlers and HandlerThread
  • WorkManager and Workers
  • Broadcast receivers
  • Services

Overview

Potential Android programmers face a very steep learning curve. Not only is the operating system different to those found on static devices but it changes constantly and rapidly.

This course guides the potential Android programmer through the Android programming maze by providing solid, real-world examples that build a complete understanding of the system.

Objectives

On successful completion of this course, participants will be able to:

  • Write and build apps for Android using Java in Android Studio
  • Deploy and run apps on the emulator and on real devices
  • Understand the major Android components
  • Access common hardware features like the camera
  • Interact with other useful components like the Contacts database
  • Perform unit tests and user-interface tests
  • Publish apps on Google Playstore

Audience

This course is aimed primarily at Java programmers who wish to create or maintain Android apps. Other members of the development team may also find it useful.

Prerequisites

Participants are expected to have a working knowledge of Java up to the level covered in the Java Programming course. Familiarity with Gradle is helpful but not essential. No knowledge of either Android or Android Studio is assumed.

share buttons
share on twitter
share on linkedin
share on facebook
share by email