Android Programming with Kotlin for Beginners

uild Android apps starting from zero programming experience with the new Kotlin programming language

John Horton

Digital

Available

Build smart looking Kotlin apps with UI and functionality for the Android platform Key Features Start your Android programming career, or just have fun publishing apps on Google Play marketplace The first-principle introduction to Kotlin through Android, to start building easy-to-use apps Learn by example and build four real-world apps and dozens of mini-apps Book DescriptionAndroid 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 the imminent arrival of the most anticipated Android update, Android 10 (Q), this book gets you started building apps compatible with the latest version of Android. It adopts a project-style approach, where we focus on teaching the fundamentals of Android app development and the essentials of Kotlin by building three real-world apps and more than a dozen mini-apps. The book begins by giving you a strong grasp of 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. You will dive deep into Kotlin programming concepts such as variables, functions, data structures, Object-Oriented code, and how to connect your Kotlin code to the UI. You will learn to add multilingual text so that your app is accessible to millions of more potential users. You will learn how animation, graphics, and sound effects work and are implemented in your Android app. By the end of the book, you will have sound knowledge about significant Kotlin programming concepts and start building your own fully featured Android apps. What you will learn Learn how Kotlin and Android work together Build a graphical drawing app using Object-Oriented Programming (OOP) principles Build beautiful, practical layouts using ScrollView, RecyclerView, NavigationView, ViewPager and CardView Write Kotlin code to manage an apps' 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 forThis book is for people who are new to Kotlin, Android and want to develop Android apps.It also acts as a refresher for those who have some experience in programming with Android and Kotlin.

   

What will you learn from this book

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

  1. Getting Started with Android and Kotlin
  2. Kotlin, XML, and the UI Designer
  3. Exploring Android Studio and the Project Structure
  4. Getting Started with Layouts and Material Design
  5. Beautiful Layouts with CardView and ScrollView
  6. The Android Lifecycle
  7. Kotlin Variables, Operators, and Expressions
  8. Kotlin Decisions and Loops
  9. Kotlin Functions
  10. Object-Oriented Programming
  11. Inheritance in Kotlin
  12. Connecting Our Kotlin to the UI and Nullability
  13. Bringing Android Widgets to Life
  14. Android Dialog Windows
  15. Handling Data and Generating Random Numbers
  16. Adapters and Recyclers
  17. Data Persistence and Sharing
  18. Localization
  19. Animations and Interpolations
  20. Drawing Graphics
  21. Threads and Starting the Live Drawing App
  22. Particle Systems and Handling Screen Touches
  23. Android Sound Effects and the Spinner Widget
  24. Design Patterns, Multiple Layouts, and Fragments
  25. Advanced UI with Paging and Swiping
  26. Advanced UI with Navigation Drawer and Fragment
  27. Android Databases
  28. A Quick Chat Before You Go
Language English
ISBN-13 9781789615401
No of pages 698
Book Publisher Packt Publishing
Published Date 30 Mar 2019

About Author

Author : John Horton

NA
  • 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

Related Books