Learning Kotlin by Building Android Applications - 2018 初级
Develop amazing applications that will help you understand and explore the fundamentals of Kotlin while covering 3 various types of projects
Key Features
- Explore the fundamentals of Kotlin by building effective Android applications.
- Develop and test Android applications using only the Kotlin language.
- One of the major (and best) Android features, Kotlin provides deep interoperability with Java.
Book Description
Google has extended support to the widely adopted, and powerful, Kotlin programming language. It works in parallel with Java and C++, which makes it easier (even for existing developers) to learn a new language for their most favored platform.
This book adopts a project-style approach, where we focus on teaching Android development by building three different Android Applications.
The book begins by giving you a strong grasp of the Kotlin language and its APIs as a preliminary to building stunning applications for Android. You'll learn to set up an environment as the difficulty level grows steadily, in line with applications covered in later chapters.
The book also introduces you to the Android Studio IDE, which plays an integral role in Kotlin Android Development. It covers Kotlin's basic programming concepts such as functions, lambdas, properties, object-oriented code, safety aspects and type parameterization, testing, and concurrency, and helps you write Kotlin code to production.
Finally, you'll be taken through the process of releasing your app on the Google Play Store. You will also be introduced to other app distribution channels such as Amazon and App Store.
As a bonus chapter you will also learn how to use the Google Faces API to detect faces and add fun functionalities.
What you will learn
- Learn the basics of using the Android Studio IDE and a number of basic programming concepts in Kotlin
- Discover Android development by building Android apps with Kotlin
- Uncover some amazing features of Kotlin that give it the upper hand over Java
- Kotlin Interoperability with Java
- Integrate Crashlytics for crash reporting and beta testing.
- Automate your build process with continuous integration tools.
- Learn to release and publish your app in various distribution channels.
Who This Book Is For
If you are completely new to Kotlin or the Android platform and need to publish Android applications for fun or for business purposes, but you have no clue where to start, then this book is for you. This book is also for advanced Android developers who want to learn to use Kotlin instead of/alongside Java for Android development.
About the Author
Eunice Adutwumwaa Obugyei is an author on Raywenderlich. Eunice is a software engineer at DreamOval, currently focusing on Mobile development.
Natarajan Raman has close to 15 years' of experience in software design and development. He is a Google certified Nano degree holder on Android development and was invited as a guest by Google for the I/O 2017. His Android App Idea for special children got selected as one of the top SIX ideas out of 80 odd ideas and was also featured by Google on Code it possible program. He works for Patterns and is also the managing trustee of Dream India.
kotlin programming by example - 2018 初级
Enhance your Kotlin programming skills by building 3 real-world applications
Key Features
- Build three full-fledged, engaging applications from scratch and learn to deploy them
- Enhance your app development and programming activities with Kotlin’s powerful and intuitive tools and utilities.
- Experience the gentle learning curve, expressiveness, and intuitiveness of Kotlin, as you develop your own applications
Book Description
Kotlin greatly reduces the verbosity of source code. With Google having announced their support for Kotlin as a first-class language for writing Android apps, now's the time learn how to create apps from scratch with Kotlin
Kotlin Programming By Example takes you through the building blocks of Kotlin, such as functions and classes. You’ll explore various features of Kotlin by building three applications of varying complexity. For a quick start to Android development, we look at building a classic game, Tetris, and elaborate on object-oriented programming in Kotlin. Our next application will be a messenger app, a level up in terms of complexity. Before moving onto the third app, we take a look at data persistent methods, helping us learn about the storage and retrieval of useful applications. Our final app is a place reviewer: a web application that will make use of the Google Maps API and Place Picker.
By the end of this book, you will have gained experience of of creating and deploying Android applications using Kotlin.
What you will learn
- Learn the building blocks of the Kotlin programming language
- Develop powerful RESTful microservices for Android applications
- Create reactive Android applications efficiently
- Implement an MVC architecture pattern and dependency management using Kotlin
- Centralize, transform, and stash data with Logstash
- Secure applications using Spring Security
- Deploy Kotlin microservices to AWS and Android applications to the Play Store
Who this book is for
This book is for those who are new to Kotlin or are familiar with the basics, having dabbled with Java until now. Basic programming knowledge is mandatory.
Table of Contents
- The Fundamentals
- Building an Android Application-Tetris
- Implementing Tetris Logic and Functionality
- Designing and Implementing the Messenger Backend with Spring Boot 2.0
- Building the Messenger Android App - Part 1
- Building the Messenger Android App - Part 2
- Storing Information in a Database
- Securing and Deploying the Android app
- Creating the Place Reviewer Backend with Spring
- Implementing the Place Reviewer Frontend
Kotlin Blueprints - 2017 中级
Get to know the building blocks of Kotlin and best practices when using quality world-class applications
Key Features
- Learn to build exciting and scalable Android and web applications (both the server-side and client-side parts) with your Kotlin skills
- Dive into the great ecosystem of Kotlin frameworks and libraries through projects that you'll build using this book
- This project-based guide contains clear instructions to help you extend your applications across a wide domain
Book Description
Kotlin is a powerful language that has applications in a wide variety of fields. It is a concise, safe, interoperable, and tool-friendly language. The Android team has also announced first-class support for Kotlin, which is an added boost to the language. Kotlin's growth is fueled through carefully designed business and technology benefits.
The collection of projects demonstrates the versatility of the language and enables you to build standalone applications on your own. You'll build comprehensive applications using the various features of Kotlin. Scale, performance, and high availability lie at the heart of the projects, and the lessons learned throughout this book.
You'll learn how to build a social media aggregator app that will help you efficiently track various feeds, develop a geospatial webservice with Kotlin and Spring Boot, build responsive web applications with Kotlin, build a REST API for a news feed reader, and build a server-side chat application with Kotlin.
It also covers the various libraries and frameworks used in the projects. Through the course of building applications, you'll not only get to grips with the various features of Kotlin, but you'll also discover how to design and prototype professional-grade applications.
What you will learn
- See how Kotlin's power and versatility make it a great choice to create applications across various platforms, and how it delivers business and technology benefits
- Write a robust web applications using Kotlin with Spring Boot
- Write Android applications with ease using Kotlin
- Write rich desktop applications in Kotlin
- Learn how Kotlin can generate Javascript and how this can be used on client side and server side development
- Understand how native applications can be written with Kotlin/Native
- Learn the practical aspects of programming in each of the applications
Who This Book Is For
This practical guide is for programmers who are already familiar with Kotlin. If you are familiar with Kotlin and want to put your knowledge to work, then this is the book for you. Kotlin programming knowledge is a must.
Table of Contents
- The Power of Kotlin
- Geospatial Messenger
- Social Media Aggregator Android App
- Weather App Using Kotlin for JavaScript
- Chat Application with Server-side JavaScript Generation
- News Feed - REST API
- CSV Reader in Kotlin Native
- Dictionary Desktop Application - Tornado FX
Kotlin in Action - 2017 中级
Summary
Kotlin in Action guides experienced Java developers from the language basics of Kotlin all the way through building applications to run on the JVM and Android devices. Foreword by Andrey Breslav, Lead Designer of Kotlin.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Developers want to get work done - and the less hassle, the better. Coding with Kotlin means less hassle. The Kotlin programming language offers an expressive syntax, a strong intuitive type system, and great tooling support along with seamless interoperability with existing Java code, libraries, and frameworks. Kotlin can be compiled to Java bytecode, so you can use it everywhere Java is used, including Android. And with an effi cient compiler and a small standard library, Kotlin imposes virtually no runtime overhead.
About the Book
Kotlin in Action teaches you to use the Kotlin language for production-quality applications. Written for experienced Java developers, this example-rich book goes further than most language books, covering interesting topics like building DSLs with natural language syntax. The authors are core Kotlin developers, so you can trust that even the gnarly details are dead accurate.
What's Inside
- Functional programming on the JVM
- Writing clean and idiomatic code
- Combining Kotlin and Java
- Domain-specific languages
About the Reader
This book is for experienced Java developers.
About the Author
Dmitry Jemerov and Svetlana Isakova are core Kotlin developers at JetBrains.
Table of Contents
PART 1 - INTRODUCING KOTLIN
PART 2 - EMBRACING KOTLIN
- Kotlin: what and why
- Kotlin basics
- Defining and calling functions
- Classes, objects, and interfaces
- Programming with lambdas
- The Kotlin type system
- Operator overloading and other conventions
- Higher-order functions: lambdas as parameters and return values
- Generics
- Annotations and reflection
- DSL construction
Kotlin Programming Cookbook - 2018 中级
Discover Android programming and web development by understanding the concepts of Kotlin Programming
Key Features
- Practical solutions to your common programming problems with Kotlin 1.1
- Leverage the functional power of Kotlin to ease your Android application development
- Learn to use Java code in conjunction with Kotlin
Book Description
The Android team has announced first-class support for Kotlin 1.1. This acts as an added boost to the language and more and more developers are now looking at Kotlin for their application development. This recipe-based book will be your guide to learning the Kotlin programming language.
The recipes in this book build from simple language concepts to more complex applications of the language. After the fundamentals of the language, you will learn how to apply the object-oriented programming features of Kotlin 1.1. Programming with Lambdas will show you how to use the functional power of Kotlin.
This book has recipes that will get you started with Android programming with Kotlin 1.1, providing quick solutions to common problems encountered during Android app development. You will also be taken through recipes that will teach you microservice and concurrent programming with Kotlin. Going forward, you will learn to test and secure your applications with Kotlin. Finally, this book supplies recipes that will help you migrate your Java code to Kotlin and will help ensure that it's interoperable with Java.
What you will learn
- Understand the basics and object-oriented concepts of Kotlin Programming
- Explore the full potential of collection frameworks in Kotlin
- Work with SQLite databases in Android, make network calls, and fetch data over a network
- Use Kotlin's Anko library for efficient and quick Android development
- Uncover some of the best features of Kotlin: Lambdas and Delegates
- Set up web service development environments, write servlets, and build RESTful services with Kotlin
- Learn how to write unit tests, integration tests, and instrumentation/acceptance tests.
Who this book is for
This book will appeal to Kotlin developers keen to find solutions for their common programming problems. Java programming knowledge would be an added advantage.
Table of Contents
- Installation and working with Environment
- Control flow
- Classes and Objects
- Functions
- Object oriented programming
- Collections Framework
- Handling File operations in Kotlin
- Anko Commons and Extension function
- Anko Layouts
- Databases and Dependency Injection
- Networking and Concurrency
- Lambdas and Delegates
- Testing
- Web services with Kotlin
Kotlin Standard Library Cookbook - 2018 中级
Build optimized applications in Kotlin by learning how to make use of the standard library features the smart way.
Book Description
Given the verbosity of Java, developers have turned to Kotlin for effective software development. The Kotlin standard library provides vital tools that make day-to-day Kotlin programming easier. This library features the core attributes of the language, such as algorithmic problems, design patterns, data processing, and working with files and data streams
The recipes in this book offer coding solutions that can be readily executed. The book covers various topics related to data processing, I/O operations, and collections transformation. We'll walk through effective design patterns in Kotlin and you'll understand how coroutines add new features to JavaScript.
As you make your way through the chapters, you'll learn how to implement clean, reusable functions and scalable interfaces containing default implementations. In the concluding chapters, we'll provide recipes on functional programming concepts, such as lambdas, monads, functors, and Kotlin scoping functions.
By the end of the book, you'll be able to address a range of problems that Kotlin developers face by implementing easy-to-follow solutions.
What You Will Learn
- Work with ranges, progressions, and sequences in use cases
- Add new functionalities to current classes with Kotlin extensions
- Understand elements such as lambdas, closures, and monads
- Build a REST API consumer with Retrofit and a coroutine adapter
- Discover useful tips and solutions for making your Android projects
- Explore the benefits of standard library features
Authors
Samuel Urbanowicz is an experienced software engineer skilled in mobile applications and backend development. A fan of modern programming languages, he has been using Kotlin since its beginning. He's always curious to dive into technologies. He is especially passionate about machine learning. Samuel believes that the Kotlin language has great potential for multiplatform development. He has work experience in both big corps and small start-ups. He is an active contributor to open source projects.