Building Android Apps: Performing CRUD Operations
Android
| Intermediate
- 18 videos | 2h 20m 4s
- Includes Assessment
- Earns a Badge
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 courseCreate an http server in an android projectRetrieve data from a locally running rest serverUse query params in a get requestCreate a new screen based on a rest endpointHandle post requests in the locally running http serverAdd a new activity to create and add restaurantsHandle put requests in the locally running http serverAdd a new activity to modify restaurants
-
Add a new activity to delete restaurantsOutline how the retrofit library worksUse the retrofit client to connect to an http endpointConfigure the app code to use retrofit for all http requestsUse path variables to filter restaurants by idCreate a compose app and a locally running http serverAdd screens to retrieve and add restaurantsAdd screens to update and delete restaurantsSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 16sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
7m 10sLearn how to create an HTTP server in an Android project. FREE ACCESS
-
10m 4sFind out how to retrieve data from a locally running REST server. FREE ACCESS
-
6m 40sIn this video, you will learn how to use query params in a GET request. FREE ACCESS
-
8m 24sDiscover how to create a new screen based on a REST endpoint. FREE ACCESS
-
6m 17sFind out how to handle POST requests in the locally running HTTP server. FREE ACCESS
-
12m 28sIn this video, discover how to add a new activity to create and add restaurants. FREE ACCESS
-
4m 17sLearn how to handle PUT requests in the locally running HTTP server. FREE ACCESS
-
13m 13sFind out how to add a new activity to modify restaurants. FREE ACCESS
-
7m 15sIn this video, you will learn how to add a new activity to delete restaurants. FREE ACCESS
-
3m 11sUpon completion of this video, you will be able to outline how the Retrofit library works. FREE ACCESS
-
9m 21sLearn how to use the Retrofit client to connect to an HTTP endpoint. FREE ACCESS
-
7mFind out how to configure the app code to use Retrofit for all HTTP requests. FREE ACCESS
-
4m 33sIn this video, you will learn how to use path variables to filter restaurants by ID. FREE ACCESS
-
13m 17sDiscover how to create a Compose app and a locally running HTTP server. FREE ACCESS
-
11m 47sFind out how to add screens to retrieve and add restaurants. FREE ACCESS
-
10m 33sIn this video, discover how to add screens to update and delete restaurants. FREE ACCESS
-
2m 18sIn 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.