دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Gema Socorro Rodríguez
سری:
ISBN (شابک) : 9781837631292, 9781801811071
ناشر: Packt Publishing Pvt Ltd
سال نشر: 2024
تعداد صفحات: 0
زبان: English
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 9 مگابایت
در صورت تبدیل فایل کتاب Thriving in Android Development Using Kotlin: Use the newest features of the Android framework to develop production-grade apps به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب پیشرفت در توسعه اندروید با استفاده از Kotlin: از جدیدترین ویژگی های فریم ورک اندروید برای توسعه برنامه های درجه تولید استفاده کنید نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
Thriving in Android Development Using Kotlin
Contributors
About the author
About the reviewer
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Share Your Thoughts
Download a free PDF copy of this book
Part 1:Creating WhatsPackt, a Messaging App
1
Building the UI for Your Messaging App
Technical requirements
Defining the app structure and navigation
Modularization
Dependency injection
Navigation
Building the main screen
Adding a scaffold to the main screen
Adding the TopAppBar composable to the main screen
Adding the TabRow composable to the bottom of the main screen
Adding a pager
Adding the FloatingActionButton composable
Creating the conversations list
Modeling the conversation
Creating the ConversationList composable
Building the messages list
Modeling the Chat and Message models
Creating the MessageItem composable
Adding the TopAppBar and BottomRow composables
Adding the messages list
Summary
2
Setting Up WhatsPackt’s Messaging Abilities
Technical requirements
Using a WebSocket connection
Why WebSockets?
Integrating WebSockets
Implementing WebSocketDataSource
Receiving messages in our ViewModel
Understanding Clean Architecture implementation
Creating our Clean Architecture components
Implementing ChatViewModel
Handling synchronization and errors
Obtaining chat screen initialization data
Handling errors in the WebSocket
Adding push notifications
Setting up Firebase
Sending the FCM token to Firebase
Preparing the app to receive push notifications
Replacing the Websocket with Firestore
What is Firestore?
Chat data structure
Creating a FirestoreMessagesDataSource class
Summary
3
Backing Up Your WhatsPackt Messages
Technical requirements
Understanding Room
Key features of Room
Room’s architecture and components
Implementing Room in WhatsPackt
Adding dependencies
Creating the database
Creating entity classes
Creating DAOs
Creating a LocalMessagesDataSource data source
Handling two data sources in the MessagesRepository component
Getting to know Firebase Storage
How Firebase Storage works
Setting up Firebase Storage
Creating UploadMessagesUseCase
Scheduling WorkManager to send backups
Introducing the Worker class
Configuring the WorkRequest component
Creating our Worker instance
Setting up the WorkRequest class
Using Amazon S3 for storage
Integrating the AWS S3 SDK
Setting up Amazon Cognito
Creating an AWS S3 Storage provider and integrating it into our code
Summary
Part 2:Creating Packtagram, a Photo Media App
4
Building the Packtagram UI
Technical requirements
Setting up Packtagram’s modules and dependencies
Setting up a version catalog
Modularizing our app
Getting to know Koin
Setting up Koin
Creating the stories screen
Creating the newsfeed screen and its components
Creating the NewsFeed list
Creating the PostItem composable
Using Retrofit and Moshi to retrieve newsfeed information
Adding the Retrofit and Moshi dependencies
Creating the data source for the newsfeed
Creating the repository
Creating the GetTheNewsFeedUseCase
Integrating the use case into our ViewModel
Implementing pagination in the newsfeed
Summary
5
Creating a Photo Editor Using CameraX
Technical requirements
Getting to know CameraX
The evolution of camera libraries in Android
The importance and advantages of CameraX
Setting up CameraX
Learning about CameraX’s core concepts
Integrating CameraX into our Packtagram app
Setting up the permissions checker with Accompanist
Creating our own CameraPreview
Adding photo-saving functionality
Adding photo-editing functionalities
Adding filters
Adding a text overlay
Using ML to categorize photos and generate hashtags
Summary
6
Adding Video and Editing Functionality to Packtagram
Technical requirements
Adding video functionality to our app
Getting to know FFmpeg
The components of FFmpeg
Key features of FFmpeg
Integrating mobile-ffmpeg into our project
Understanding the FFmpeg command-line syntax
Advanced syntax and options in FFmpeg
Using mobile-ffmpeg to execute FFmpeg commands
Adding a caption to the video with FFmpeg
Adding a filter to a video with FFmpeg
Uploading the video
Summary
Part 3:Creating Packtflix, a Video Media App
7
Starting a Video Streaming App and Adding Authentication
Technical requirements
Creating the app’s structure and modules
Setting up the dependency injection framework
Building the login screen
Authenticating the app’s users
Creating the user model
Using Retrofit to get the authorization token
Using DataStore to store the token
Sending the authorization token in requests
Creating your movie list
Building the models
Building the MoviesScreen composable
Making the movie and series detail screen
Creating the detail models
Building the DetailScreen
Summary
8
Adding Media Playback to Packtflix with ExoPlayer
Technical requirements
Reviewing Android’s media options
Learning about the MediaPlayer API
Learning about VideoView
Understanding the basics of ExoPlayer
Exploring ExoPlayer’s architecture
Integrating ExoPlayer into our project
Creating the video playback user interface
Building PlaybackScreen and its composables
Making the controls disappear when playing the content
Playing video using ExoPlayer
Creating PlaybackActivity
Creating PlaybackViewModel
Connecting the controls with ExoPlayer
Implementing the video controls in PlaybackViewModel
Adding subtitles to the video player
Summary
9
Extending Video Playback in Your Packtflix App
Technical requirements
Getting to know the PiP API
PiP requirements
Entering and exiting PiP mode programmatically
Using PiP to continue playback in the background
Implementing PiP
Understanding how to add actions to the PiP mode
Adding actions to the PiP mode
Getting to know MediaRouter
Setting up MediaRouter
Discovering media routes
Connecting to Google Chromecast devices
Summary
Index
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Share Your Thoughts
Download a free PDF copy of this book