2 options
Mastering android development with Kotlin : deep dive into the world of Android to create robust applications with Kotlin / Milos Vasic.
- Format:
- Book
- Author/Creator:
- Vasić, Miloš, author.
- Language:
- English
- Subjects (All):
- Mobile computing.
- Mobile apps--Programming.
- Mobile apps.
- Physical Description:
- 1 online resource (1 volume) : illustrations
- Edition:
- 1st edition
- Place of Publication:
- Birmingham, England ; Mumbai, [India] : Packt Publishing, 2017.
- System Details:
- text file
- Biography/History:
- Vasic Milos: Milo Vasi is a software engineer, author and open source enthusiasts. Milo holds a Bachelor degree in Programming of computer graphics and Master degree in the field of Android programming, both degrees he obtained at the Singidunum University. He published his first book Fundamental Kotlin in October 2016 and thus achieved his dream of becoming an author.
- Summary:
- Master Android development using a variety of Kotlin features About This Book Leverage specific features of Kotlin to ease Android application development An illustrative guide that will help you write code based Kotlin language to build robust Android applications Filled with various practical examples build amazing Android project using Kotlin so you can easily apply your knowledge to real world scenarios Who This Book Is For The book is for developers who want to build amazing Android applications in an easy and effective way. Basic knowledge of Kotlin is assumed, but you do not need any familiarity with Android development. What You Will Learn Understand the basics of Android development with Kotlin Get to know the key concepts in Android development See how to create modern mobile applications for the Android platform Adjust your application's look and feel Know how to persist and share application database Work with Services and other concurrency mechanisms Write effective tests Migrate an existing Java-based project to Kotlin In Detail Kotlin is a programming language intended to be a better Java, and it's designed to be usable and readable across large teams with different levels of knowledge. As a language, it helps developers build amazing Android applications in an easy and effective way. This book begins by giving you a strong grasp of Kotlin's features in the context of Android development and its APIs. Moving on, you'll take steps toward building stunning applications for Android. The book will show you how to set up the environment, and the difficulty level will grow steadily with the applications covered in the upcoming chapters. Later on, the book will introduce you to the Android Studio IDE, which plays an integral role in Android development. We'll use Kotlin's basic programming concepts such as functions, lambdas, properties, object-oriented code, safety aspects, type parameterization, testing, and concurrency, which will guide you through writing Kotlin code into production. We'll also show you how to integrate Kotlin into any existing Android project. Style and approach In this book, you'll master Android development using Kotlin through real application examples. We'll introduce you to basic Android concepts and offer guidance from the first steps to the final project. In each chapter, we'll develop one important application functionality as a development milestone. As we progress, you'll become more experienced in Andro...
- Contents:
- Cover
- Title Page
- Copyright
- Credits
- About the Author
- Acknowledgments
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Starting with Android
- Why Kotlin?
- Kotlin for Android - it's official
- Downloading and configuring Android Studio
- Setting up Android emulators
- Creating a new AVD instance
- Duplicating an existing AVD and modifying it by need
- Android Debug Bridge
- Other important tools
- Initializing a Git repository
- Creating an Android project
- Setting up Gradle
- Explaining directory structure
- Defining build types and flavors
- Additional libraries
- Getting familiar with Android Manifest
- Main Application class
- Your first screen
- Summary
- Chapter 2: Building and Running
- Running your first Android application
- Meet the Logcat
- First case
- Using the Gradle build tool
- Debug your application
- Chapter 3: Screens
- Analyzing the mockup plan
- Defining application activities
- Android layouts
- Using EditText views
- The margins attribute
- The padding attribute
- Checking out the gravity attribute
- Looking at other attributes
- Understanding Android Context
- Understanding fragments
- Fragment manager
- Fragments stack
- Creating View Pager
- Making animations with transitions
- Dialog fragments
- Notifications
- Other important UI components
- Chapter 4: Connecting Screen Flow
- Creating an application bar
- Using the navigation drawer
- Connecting activities
- Looking deeper into Android Intents
- Passing information between activities and fragments
- Chapter 5: Look and Feel
- Themes in the Android Framework
- Styles in Android
- Working with assets
- Using custom fonts
- Applying coloring
- Make your buttons look pretty
- Setting animations.
- Animation sets in Android
- Chapter 6: Permissions
- Permissions from Android Manifest
- Requesting permissions
- Doing it the Kotlin way
- Chapter 7: Working with Databases
- Introduction to SQLite
- Benefits
- Describing our database
- CRUD operations
- Insert CRUD operation
- Update CRUD operation
- Delete CRUD operation
- Select CRUD operation
- Tying things together
- Chapter 8: Android Preferences
- What are Android preferences?
- How can you use them?
- Editing (storing) preferences
- Removing preferences
- Defining your own preferences manager
- Chapter 9: Concurrency in Android
- Introduction to Android concurrency
- Main thread
- Handlers and threads
- AsyncTask
- Understanding Android Looper
- Preparing the Looper
- Delayed execution
- Chapter 10: Android Services
- Service categorization
- Foreground Android services
- Background Android services
- Bound Android services
- Android service basics
- Declaring your service
- Starting the service
- Stopping the service
- Binding to Android service
- Service lifecycle
- Defining the main application service
- Defining the intent service
- Chapter 11: Messaging
- Understanding Android broadcasts
- System broadcasts
- Listening for broadcasts
- Registering from the context
- Receivers execution
- Sending broadcasts
- Creating your own broadcast messages
- Using on boot and on shutdown broadcasts
- Listening for network events
- Chapter 12: Backend and API
- Identifying entities used
- Working with data classes
- Connect data models to a database
- Introduction to Retrofit
- Defining Retrofit service
- Building a Retrofit service instance
- Introduction to Gson with Kotson library
- What else is available?
- Retrofit alternative.
- Gson alternative
- Executing our first API call
- Content providers
- Android adapters
- Content loaders
- Data binding
- Using lists
- Using grids
- Implementing drag and drop
- Chapter 13: Tuning Up for High Performance
- Optimizing layouts
- Optimizing battery life
- Keeping your application responsive
- Chapter 14: Testing
- Adding dependencies
- Updating folder structure
- Writing your first test
- Using test suites
- How to test UI
- Running tests
- Running unit tests
- Running instrumentation tests
- Chapter 15: Migration to Kotlin
- Preparing the migration
- Danger signs
- Updating dependencies
- Converting classes
- Refactoring and cleanup
- Chapter 16: Deploying Your Application
- Preparing for deployment
- Code obfuscation
- Signing your application
- Publishing to Google Play
- Index.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (EBC, viewed December 7, 2017).
- ISBN:
- 9781788474665
- 178847466X
- OCLC:
- 1014123548
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.