Cargando…

How to build android apps with Kotlin : a practical guide to developing, testing, and publishing your first android apps /

Looking to kick-start your app development journey with Android 13, but don't know where to start? How to Build Android Apps with Kotlin is a comprehensive guide that will help jump-start your Android development practice. This book starts with the fundamentals of app development, enabling you...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Forrester, Alex (Computer software developer) (Autor), Boudjnah, Eran (Autor), Dumbravan, Alexandru (Autor), Tigcal, Jomar (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing Ltd., 2023.
Edición:Second edition.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover
  • Title Page
  • Copyright
  • Dedication
  • Contributors
  • Table of Contents
  • Preface
  • Part 1: Android Foundation
  • Chapter 1: Creating Your First App
  • Technical requirements
  • Creating an Android project with Android Studio
  • Exercise 1.01
  • creating an Android Studio project for your app
  • Setting up a virtual device and running your app
  • Exercise 1.02
  • setting up a virtual device and running your app on it
  • The Android manifest
  • Exercise 1.03
  • configuring the Android manifest internet permission
  • Using Gradle to build, configure, and manage app dependencies
  • The project-level build.gradle file
  • The app-level build.gradle file
  • Exercise 1.04
  • exploring how Material Design is used to theme an app
  • Android application structure
  • Exercise 1.05
  • adding interactive UI elements to display a bespoke greeting to the user
  • Accessing Views in layout files
  • Further input validation
  • Activity 1.01
  • producing an app to create RGB colors
  • Summary
  • Chapter 2: Building User Screen Flows
  • Technical requirements
  • The Activity lifecycle
  • Exercise 2.01
  • logging the Activity Callbacks
  • Saving and restoring the Activity state
  • Exercise 2.02
  • saving and restoring the state in layouts
  • Exercise 2.03
  • saving and restoring the state with Callbacks
  • Activity interaction with Intents
  • Exercise 2.04
  • an introduction to Intents
  • Exercise 2.05
  • retrieving a result from an Activity
  • Intents, Tasks, and Launch Modes
  • Exercise 2.06
  • setting the Launch Mode of an Activity
  • Activity 2.01
  • creating a login form
  • Summary
  • Chapter 3: Developing the UI with Fragments
  • Technical requirements
  • The fragment lifecycle
  • onAttach
  • onCreate
  • onCreateView
  • onViewCreated
  • onActivityCreated
  • onStart
  • OnResume
  • onPause
  • onStop
  • onDestroyView
  • onDestroy
  • onDetach
  • Exercise 3.01
  • adding a basic fragment and the fragment lifecycle
  • Exercise 3.02
  • adding fragments statically to an activity
  • Static fragments and dual-pane layouts
  • Exercise 3.03
  • dual-pane layouts with static fragments
  • Dynamic fragments
  • Exercise 3.04
  • adding fragments dynamically to an activity
  • Jetpack Navigation
  • Exercise 3.05
  • adding a Jetpack navigation graph
  • Activity 3.01
  • creating a quiz on the planets
  • Summary
  • Chapter 4: Building App Navigation
  • Technical requirements
  • Navigation overview
  • Navigation drawer
  • Exercise 4.01
  • creating an App with a navigation drawer
  • Bottom navigation
  • Exercise 4.02
  • adding bottom navigation to your app
  • Tabbed navigation
  • Exercise 4.03
  • using tabs for app navigation
  • Activity 4.01
  • building primary and secondary app navigation
  • Summary
  • Part 2: Displaying Network Calls
  • Chapter 5: Essential Libraries: Retrofit, Moshi, and Glide
  • Technical requirements
  • Introducing REST, API, JSON, and XML
  • Fetching data from a network endpoint
  • Exercise 5.01
  • reading data from an API
  • Parsing a JSON response
  • Exercise 5.02
  • extracting the image URL from the API response