Building Android Apps: Performing CRUD Operations

Android    |    Intermediate
  • 18 videos | 2h 20m 4s
  • Includes Assessment
  • Earns a Badge
Rating 4.0 of 5 users Rating 4.0 of 5 users (5)
Android offers a built-in standard HttpURLConnection client for making network requests, but it can be cumbersome and involve boilerplate code for handling responses and errors. In contrast, the Retrofit library simplifies networking by providing a high-level interface, reducing boilerplate, and making application programming interface (API) interactions more concise and efficient. Additionally, using coroutines for background networking operations allows for asynchronous and non-blocking execution, preventing user interface (UI) freezes. In this course, you will learn how to set up and configure a local simple HTTP server to handle requests in your Android application. You will retrieve data from the server, display a list of restaurants, and implement functionality to view individual restaurant details. You will also handle HTTP methods like POST, PUT, and DELETE to add, edit, and remove restaurants, creating a fully functional app with server communication. Next, you will explore the powerful Retrofit library, which streamlines handling HTTP requests in your Android app. You will learn to access REST endpoints more efficiently and reduce boilerplate code, resulting in a cleaner and more maintainable codebase. Finally, you will integrate the Retrofit client with Compose, a modern Android UI toolkit, to build a seamless user interface.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Create an http server in an android project
    Retrieve data from a locally running rest server
    Use query params in a get request
    Create a new screen based on a rest endpoint
    Handle post requests in the locally running http server
    Add a new activity to create and add restaurants
    Handle put requests in the locally running http server
    Add a new activity to modify restaurants
  • Add a new activity to delete restaurants
    Outline how the retrofit library works
    Use the retrofit client to connect to an http endpoint
    Configure the app code to use retrofit for all http requests
    Use path variables to filter restaurants by id
    Create a compose app and a locally running http server
    Add screens to retrieve and add restaurants
    Add screens to update and delete restaurants
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 16s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 7m 10s
    Learn how to create an HTTP server in an Android project. FREE ACCESS
  • Locked
    3.  Running a Simple HTTP Server
    10m 4s
    Find out how to retrieve data from a locally running REST server. FREE ACCESS
  • Locked
    4.  Handling Get Requests to Retrieve a Single Restaurant
    6m 40s
    In this video, you will learn how to use query params in a GET request. FREE ACCESS
  • Locked
    5.  Wiring a View Restaurant Screen to the HTTP Server
    8m 24s
    Discover how to create a new screen based on a REST endpoint. FREE ACCESS
  • Locked
    6.  Handling POST Requests on the HTTP Server
    6m 17s
    Find out how to handle POST requests in the locally running HTTP server. FREE ACCESS
  • Locked
    7.  Wiring the Add Restaurant Activity
    12m 28s
    In this video, discover how to add a new activity to create and add restaurants. FREE ACCESS
  • Locked
    8.  Handling PUT Requests on the HTTP Server
    4m 17s
    Learn how to handle PUT requests in the locally running HTTP server. FREE ACCESS
  • Locked
    9.  Wiring up the Android App to Edit Restaurants
    13m 13s
    Find out how to add a new activity to modify restaurants. FREE ACCESS
  • Locked
    10.  Handling Delete Requests and Wiring up the Android App to Support Delete
    7m 15s
    In this video, you will learn how to add a new activity to delete restaurants. FREE ACCESS
  • Locked
    11.  Retrofit Library in Android
    3m 11s
    Upon completion of this video, you will be able to outline how the Retrofit library works. FREE ACCESS
  • Locked
    12.  Using the Retrofit Client to Access REST Endpoints
    9m 21s
    Learn how to use the Retrofit client to connect to an HTTP endpoint. FREE ACCESS
  • Locked
    13.  Converting All Requests to Use the Retrofit Client
    7m
    Find out how to configure the app code to use Retrofit for all HTTP requests. FREE ACCESS
  • Locked
    14.  Using Path Variables to Specify Restaurant IDs
    4m 33s
    In this video, you will learn how to use path variables to filter restaurants by ID. FREE ACCESS
  • Locked
    15.  Using the Retrofit Client with a Compose Application
    13m 17s
    Discover how to create a Compose app and a locally running HTTP server. FREE ACCESS
  • Locked
    16.  Wiring up a View Screen and Add Restaurant Screen in Compose
    11m 47s
    Find out how to add screens to retrieve and add restaurants. FREE ACCESS
  • Locked
    17.  Wiring up an Edit Screen and Delete Functionality in Compose
    10m 33s
    In this video, discover how to add screens to update and delete restaurants. FREE ACCESS
  • Locked
    18.  Course Summary
    2m 18s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.5 of 83 users Rating 4.5 of 83 users (83)
Rating 4.5 of 21 users Rating 4.5 of 21 users (21)
Rating 4.0 of 5 users Rating 4.0 of 5 users (5)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.7 of 7 users Rating 4.7 of 7 users (7)
Rating 4.5 of 17 users Rating 4.5 of 17 users (17)
Rating 4.4 of 5 users Rating 4.4 of 5 users (5)