Programming Android with Kotlin
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 354
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Programming Android with Kotlin
Developing applications for the Android mobile operating system can seem daunting, particularly if it requires learning a new programming language: Kotlin, now Androidâ??s officialdevelopment language. With this practical book, Android developers will learn how to make the transition from Java to Kotlin, including how Kotlin provides a true advantage for gaining control over asynchronous computations.
Authors Pierre-Olivier Laurence, Amanda Hinchman-Dominguez, G. Blake Meike, and Mike Dunn explore implementations of the most common tasks in native Android development, and show you how Kotlin can help you solve concurrency problems. With a focus on structured concurrency, a new asynchronous programming paradigm, this book will guide you through one of Kotlin's most powerful constructs, coroutines.
- Learn about Kotlin essentials and the Kotlin Collections Framework
- Explore Android fundamentals: the operating system and the application container and its components
- Learn about thread safety and how to handle concurrency
- Write sequential, asynchronous work at a low cost
- Examine structured concurrency with coroutines, and learn how channels make coroutines communicate
- Learn how to use flows for asynchronous data processing
- Understand performance considerations using Android profiling tools
- Use performance optimizations to trim resource consumption
Wybrane bestsellery
-
Get thoroughly up to speed on Android programming, and learn how to create up-to-date user experiences for both handsets and tablets. With this book's extensively revised second edition, you'll focus on Android tools and programming essentials, including best practices for using Android 4 APIs. I...
Programming Android. Java Programming for the New Generation of Mobile Devices. 2nd Edition Programming Android. Java Programming for the New Generation of Mobile Devices. 2nd Edition
(152.15 zł najniższa cena z 30 dni)160.65 zł
189.00 zł(-15%) -
Android UI development with Jetpack Compose will help you understand the core concepts of Android’s declarative UI toolkit in a practical manner. The chapters are designed in a way to familiarize you with the latest ways of building modern Android applications with ease.
Android UI Development with Jetpack Compose. Bring declarative and native UI to life quickly and easily on Android using Jetpack Compose and Kotlin - Second Edition Android UI Development with Jetpack Compose. Bring declarative and native UI to life quickly and easily on Android using Jetpack Compose and Kotlin - Second Edition
-
Jesteś początkującym programistą, poszukujesz swojej ścieżki i zastanawiasz się właśnie nad tym, czy nie skierować uwagi w stronę aplikacji mobilnych? To książka dla Ciebie. Zawarty w niej materiał jest odpowiedni dla osoby dysponującej podstawami któregoś z języków programowania i bazowym doświa...(41.40 zł najniższa cena z 30 dni)
44.85 zł
69.00 zł(-35%) -
W tej książce znajdziesz fascynującą historię Androida, opowiedzianą przez jej bohaterów. Dowiesz się, skąd się wziął pomysł na system operacyjny dla urządzeń mobilnych, kim byli ludzie, którzy zaczęli nad nim pracę, jak powstawał zespół i jakie trudności trzeba było pokonać, aby móc rzucić wyzwa...
Androidy. Zespół, który stworzył system operacyjny Android Androidy. Zespół, który stworzył system operacyjny Android
(35.94 zł najniższa cena z 30 dni)38.94 zł
59.90 zł(-35%) -
Stwórz Grę Mobilną JavaScript React Native ES6+ React – aktualizacja 2023 Witaj w poradniku wydawnictwa poswojsku.pl, dzięki któremu wspólnie zaprogramujemy grę mobilną Falling Jumping Shapes. Stworzymy projekt od pomysłu przez grafikę, aż do kompleksowego zaprogramo...
-
Learn the essentials of working with Flutter and Dart to build full stack applications that meet the needs of a cloud-driven world. Together, the Flutter open source UI software development kit and the Dart programming language for client development provide a unified solution to building applica...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Atomowy Kotlin to książka dla wszystkich, którzy chcą nauczyć się Kotlina stosunkowo młodego, ale bardzo popularnego i pożądanego na rynku pracy języka programowania. Nieważne, czy jesteś początkującym, czy doświadczonym programistą, dzięki tej publikacji Kotlin nie będzie miał dla Ciebie żadny...(93.12 zł najniższa cena z 30 dni)
111.20 zł
139.00 zł(-20%) -
Witaj w poradniku wydawnictwa poswojsku.pl, dzięki któremu wspólnie zaprogramujemy grę mobilną Falling Jumping Shapes. Stworzymy projekt od pomysłu przez grafikę, aż do kompleksowego zaprogramowania w najwspanialszym języku programowania: JavaScript. Aby jednak to osiągnąć, najpierw...
Stwórz Grę Aplikacje Mobilne ES6+ JavaScript React Native - Hooks Stwórz Grę Aplikacje Mobilne ES6+ JavaScript React Native - Hooks
-
This book demonstrates a roadmap to making important decisions in Android app development. Clean Android Architecture shows you how to structure your app in different layers to make it clean and introduces the available technologies used for integration. This practical guide will help you underst...
Clean Android Architecture. Take a layered approach to writing clean, testable, and decoupled Android applications Clean Android Architecture. Take a layered approach to writing clean, testable, and decoupled Android applications
-
With Jetpack's libraries, tools, and guidance, developers can easily write high-quality apps. This book covers detailed explanations of essential concepts to help you get started with building, designing, and testing robust Android apps for various use cases using the most popular Jetpack librari...
Kickstart Modern Android Development with Jetpack and Kotlin. Enhance your applications by integrating Jetpack and applying modern app architectural concepts Kickstart Modern Android Development with Jetpack and Kotlin. Enhance your applications by integrating Jetpack and applying modern app architectural concepts
Ebooka "Programming Android with Kotlin" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Programming Android with Kotlin" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Programming Android with Kotlin" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-920-6295-0, 9781492062950
- Data wydania ebooka:
- 2021-12-06 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 7.8MB
- Rozmiar pliku Mobi:
- 15.2MB
Spis treści ebooka
- Preface
- Who Should Read This Book
- Why We Wrote This Book
- Navigating This Book
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- 1. Kotlin Essentials
- The Kotlin Type System
- Primitive Types
- Null Safety
- The Unit Type
- Function Types
- Generics
- The Kotlin Type System
- Variables and Functions
- Variables
- Lambdas
- Extension Functions
- Classes
- Class Initialization
- Properties
- lateinit Properties
- Lazy Properties
- Delegates
- Companion Objects
- Data Classes
- Enum Classes
- Sealed Classes
- Visibility Modifiers
- Summary
- 2. The Kotlin Collections Framework
- Collection Basics
- Java Interoperability
- Mutability
- Overloaded Operators
- Creating Containers
- Collection Basics
- Functional Programming
- Functional Versus Procedural: A Simple Example
- Functional Android
- Kotlin Transformation Functions
- The Boolean Functions
- Filter Functions
- Map
- flatMap
- Grouping
- Iterators Versus Sequences
- An Example
- The Problem
- The Implementation
- Summary
- 3. Android Fundamentals
- The Android Stack
- Hardware
- Kernel
- System Services
- Android Runtime Environment
- Applications
- The Android Stack
- The Android Application Environment
- Intents and Intent Filters
- Context
- Component context
- Application context
- Android Application Components: The Building Blocks
- The Activity and Its Friends
- Fragments
- The back stack
- The Activity and Its Friends
- Services
- Started Services
- Bound Services
- Content Providers
- Broadcast Receivers
- Android Application Architectures
- MVC: The Foundation
- Widgets
- The Local Model
- Android Patterns
- ModelViewIntent
- ModelViewPresenter
- ModelViewViewModel
- Summary
- 4. Concurrency in Android
- Thread Safety
- Atomicity
- Visibility
- Thread Safety
- The Android Threading Model
- Dropped Frames
- Memory Leaks
- Tools for Managing Threads
- Looper/Handler
- Executors and ExecutorServices
- Tools for Managing Jobs
- JobScheduler
- WorkManager
- Summary
- 5. Thread Safety
- An Example of a Thread Issue
- Invariants
- Mutexes
- Thread-Safe Collections
- Thread Confinement
- Thread Contention
- Blocking Call Versus Nonblocking Call
- Work Queues
- Back Pressure
- Summary
- 6. Handling Concurrency Using Callbacks
- Example-of-Purchase Feature
- Creating the App
- View-Model
- View
- Implement the Logic
- Discussion
- Structured concurrency
- Memory leaks
- Limitations of the Threading Model
- Summary
- 7. Coroutines Concepts
- What Exactly Is a Coroutine?
- Your First Coroutine
- The async Coroutine Builder
- What Exactly Is a Coroutine?
- A Quick Detour About Structured Concurrency
- The Parent-Child Relationship in Structured Concurrency
- CoroutineScope and CoroutineContext
- Suspending Functions
- Suspending Functions Under the Hood
- Using Coroutines and Suspending Functions: A Practical Example
- Dont Be Mistaken About the suspend Modifier
- Summary
- 8. Structured Concurrency with Coroutines
- Suspending Functions
- Set the Scene
- Traditional Approach Using java.util.concurrent.ExecutorService
- A Reminder About HandlerThread
- Using Suspending Functions and Coroutines
- Summary of Suspending Functions Versus Traditional Threading
- Suspending Functions
- Cancellation
- Coroutine Lifecycle
- Coroutine cancellation
- Job holds the state
- Coroutine Lifecycle
- Cancelling a Coroutine
- Cancelling a Task Delegated to a Third-Party Library
- Coroutines That Are Cooperative with Cancellation
- delay Is Cancellable
- Handling Cancellation
- Causes of Cancellation
- Supervision
- supervisorScope Builder
- Parallel Decomposition
- Automatic Cancellation
- Exception Handling
- Unhandled Versus Exposed Exceptions
- Exposed Exceptions
- Unhandled Exceptions
- Summary
- Closing Thoughts
- 9. Channels
- Channels Overview
- Rendezvous Channel
- Iterating over a Channel
- Other flavors of Channel
- Rendezvous Channel
- Unlimited Channel
- Conflated Channel
- Buffered Channel
- Channel Producers
- Channels Overview
- Communicating Sequential Processes
- Model and Architecture
- A First Implementation
- The select Expression
- Putting It All Together
- Fan-Out and Fan-In
- Performance Test
- Back Pressure
- Similarities with the Actor Model
- Execution Is Sequential Inside a Process
- Final Thoughts
- Deadlock in CSP
- TL;DR
- Limitations of Channels
- Channels Are Hot
- Summary
- 10. Flows
- An Introduction to Flows
- A More Realistic Example
- Operators
- Terminal Operators
- An Introduction to Flows
- Examples of Cold Flow Usage
- Use Case #1: Interface with a Callback-Based API
- Use Case #2: Concurrently Transform a Stream of Values
- What Happens in Case of Error?
- Final Thoughts
- Use Case #3: Create a Custom Operator
- Usage
- Error Handling
- The try/catch Block
- Separation of Concern Is Important
- Exception Transparency Violation
- The catch Operator
- Exception transparency
- Another example
- You can use emit from inside catch
- Materialize Your Exceptions
- A bonus
- Hot Flows with SharedFlow
- Create a SharedFlow
- Register a Subscriber
- Send Values to the SharedFlow
- Using SharedFlow to Stream Data
- The architecture
- The implementation
- Test of our implementation
- Replay values
- Suspend or not?
- Buffer values
- Using SharedFlow as an Event Bus
- StateFlow: A Specialized SharedFlow
- An Example of StateFlow Usage
- Summary
- 11. Performance Considerations with
Android Profiling Tools
- Android Profiler
- Network Profiler
- Viewing network calls with Connection View and Thread View
- Network call, expanded: Overview | Response | Request | Callstack
- Network Profiler
- CPU Profiler
- CPU timeline
- Thread activity timeline
- Analysis panel
- Method tracing
- Recording a sample method trace
- Android Profiler
- Energy Profiler
- Memory Profiler
- Detecting Memory Leaks with LeakCanary
- Summary
- 12. Trimming Down Resource Consumption with Performance Optimizations
- Achieving Flatter View Hierarchy with ConstraintLayout
- Reducing Programmatic Draws with Drawables
- Minimizing Asset Payload in Network Calls
- Bitmap Pooling and Caching
- Reducing Unnecessary Work
- Using Static Functions
- Minification and Obfuscation with R8 and ProGuard
- Summary
- Index
O'Reilly Media - inne książki
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
169.14 zł
199.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
143.65 zł
169.00 zł(-15%) -
What will you learn from this book?If you're a software developer looking for a quick on-ramp to software architecture, this handy guide is a great place to start. From the authors of Fundamentals of Software Architecture, Head First Software Architecture teaches you how to think architecturally ...(245.65 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Programming Android with Kotlin Pierre-Olivier Laurence, Amanda Hinchman-Dominguez, G. Blake Meike (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.