Android Programming with Kotlin for Beginners: Build Android apps starting from zero programming experience
English | 2019 | ISBN-13: 978-1789615401 | 698 Pages |True PDF | 8.62 MB
Build robust Kotlin apps with an efficient UI and smooth functionality for the Android platform
Key Features
Start building easy-to-use apps featuring an intuitive user interface
Understand how to publish your apps on Google Play
Learn by example and build four real-world apps and a variety of mini-apps
Book Description
Android is the most popular mobile operating system in the world and Kotlin has been declared by Google as a first-class programming language to build Android apps. With this book, you'll explore the Android 10 (Q) update, and get up to speed with building apps that are compatible with this version.
This book adopts a project-based approach, where you'll focus on the fundamentals of Android app development and the essentials of Kotlin by building three real-world apps and a variety of mini-apps. You'll begin by understanding how Kotlin and Android work together before gradually moving onto exploring the various Android APIs for building stunning apps for Android with ease. You will learn to make your apps more presentable using different layouts. Later chapters will take you through Kotlin programming concepts such as variables, functions, data structures, and object-oriented code, along with showing you how to connect your Kotlin code to the UI. In addition to this, you will understand how to add multilingual text so that your app is accessible to millions more potential users. Toward the concluding sections, you will learn how animation, graphics, and sound effects work, and ways to implement them in your Android app.
By the end of this book, you will have gained comprehensive knowledge of essential Kotlin programming concepts and developed the skills you need to startbuilding your own fully featured Android apps.
What you will learn
Understand how Kotlin and Android work together
Build a graphical drawing app using object-oriented programming(OOP) principles
Develop beautiful, practical layouts using ScrollView, RecyclerView, NavigationView, ViewPager and CardView
Write Kotlin code to manage an app's data using different strategies including JSON and the built-in Android SQLite database
Add user interaction, data captures, sound, and animation to your apps
Implement dialog boxes to capture input from the user
Build a simple database app that sorts and stores the user's data
Who this book is for
This book is for anyone who is new to Kotlin and Android, and wants to develop interactive Android apps. Those who have some experience in programming with Android and Kotlin will also find thebook useful.
Table of Contents
Getting Started with Android and Kotlin
Kotlin, XML, and the UI Designer
Exploring Android Studio and the Project Structure
Getting Started with Layouts and Material Design
Beautiful Layouts with CardView and ScrollView
The Android Lifecycle
Kotlin Variables, Operators, and Expressions
Kotlin Decisions and Loops
Kotlin Functions
Object-Oriented Programming
Inheritance in Kotlin
Connecting Our Kotlin to the UI and Nullability
Bringing Android Widgets to Life
Android Dialog Windows
Handling Data and Generating Random Numbers
Adapters and Recyclers
Data Persistence and Sharing
Localization
Animations and Interpolations
Drawing Graphics
Threads and Starting the Live Drawing App
Particle Systems and Handling Screen Touches
Android Sound Effects and the Spinner Widget
Design Patterns, Multiple Layouts, and Fragments
Advanced UI with Paging and Swiping
Advanced UI with Navigation Drawer and Fragment
Android Databases
A Quick Chat Before You Go
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.