Kotlin Programming Cookbook

eBook Download

BOOK EXCERPT:

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.

Product Details :

Genre : Computers
Author : Rashi Karanpuria
Publisher : Packt Publishing Ltd
Release : 2018-01-25
File : 423 Pages
ISBN-13 : 9781788475211


Modern Android 13 Development Cookbook

eBook Download

BOOK EXCERPT:

Save months of trial and error with concise guided recipes in this part-color guide and build exceptional Android applications and wearables and support the new foldable technology by using the latest Jetpack libraries Key Features Leverage the power of the latest Jetpack libraries in your day-to-day Android development tasks Explore Wear OS and build large screens to support the foldable world using the declarative approach Write tests and debug your code as you discover the most useful tips, tricks, and best practices Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionAndroid is a powerful operating system widely used in various devices, phones, TVs, wearables, automobiles, and more. This Android cookbook will teach you how to leverage the latest Android development technologies for creating incredible applications while making effective use of popular Jetpack libraries. You’ll also learn which critical principles to consider when developing Android apps. The book begins with recipes to get you started with the declarative UI framework, Jetpack Compose, and help you with handling UI states, Navigation, Hilt, Room, Wear OS, and more as you learn what's new in modern Android development. Subsequent chapters will focus on developing apps for large screens, leveraging Jetpack’s WorkManager, managing graphic user interface alerts, and tips and tricks within Android studio. Throughout the book, you'll also see testing being implemented for enhancing Android development, and gain insights into harnessing the integrated development environment of Android studio. Finally, you’ll discover best practices for robust modern app development. By the end of this book, you’ll be able to build an Android application using the Kotlin programming language and the newest modern Android development technologies, resulting in highly efficient applications.What you will learn Use Kotlin programming to build your Android applications Leverage modern Android development (MAD) libraries to create exceptional apps Explore modern app architecture concepts such as model-view-viewmodel (MVVM) Utilize dependency injection, clean architecture, and module organization Discover how to write UI and unit tests for your applications Get to grips with paging, data binding, and datastore Build large screens to support the new foldable world Explore principles of Wear OS in modern Android development Who this book is for This book is for active junior-to-mid-level Android developers with one to two years of professional experience in developing Android applications who are interested in advancing their knowledge of Android development. The recipes in this book use Kotlin and not Java.

Product Details :

Genre : Computers
Author : Madona S. Wambua
Publisher : Packt Publishing Ltd
Release : 2023-07-07
File : 322 Pages
ISBN-13 : 9781803233215


Android 9 Development Cookbook

eBook Download

BOOK EXCERPT:

Build feature-rich, reliable Android Pie apps with the help of more than 100 proven industry standard recipes and strategies. Key FeaturesUncover the latest features in Android 9 Pie to make your applications stand outDevelop Android Pie applications with the latest mobile technologies, from set up to securityGet up-to-speed with Android Studio 3 and its impressive new featuresBook Description The Android OS has the largest installation base of any operating system in the world. There has never been a better time to learn Android development to write your own applications, or to make your own contributions to the open source community! With this extensively updated cookbook, you'll find solutions for working with the user interfaces, multitouch gestures, location awareness, web services, and device features such as the phone, camera, and accelerometer. You also get useful steps on packaging your app for the Android Market. Each recipe provides a clear solution and sample code you can use in your project from the outset. Whether you are writing your first app or your hundredth, this is a book that you will come back to time and time again, with its many tips and tricks on the rich features of Android Pie. What you will learnDevelop applications using the latest Android framework while maintaining backward-compatibility with the support libraryCreate engaging applications using knowledge gained from recipes on graphics, animations, and multimediaWork through succinct steps on specifics that will help you complete your project fasterAdd location awareness to your own app with examples using the latest Google Play services APIUtilize Google Speech Recognition APIs for your appWho this book is for If you are new to Android development and want to take a hands-on approach to learning the framework, or if you are an experienced developer in need of clear working code to solve the many challenges in Android development, you will benefit from this book. Either way, this is a resource you'll want to keep on your desk as a quick reference to help you solve new problems as you tackle more challenging projects.

Product Details :

Genre : Computers
Author : Rick Boyer
Publisher : Packt Publishing Ltd
Release : 2018-10-19
File : 458 Pages
ISBN-13 : 9781788622967


Android Programming With Kotlin For Beginners

eBook Download

BOOK EXCERPT:

Build smart looking Kotlin apps with UI and functionality for the Android platform Key FeaturesStart your Android programming career, or just have fun publishing apps on Google Play marketplaceThe first-principle introduction to Kotlin through Android, to start building easy-to-use appsLearn by example and build four real-world apps and dozens of mini-appsBook 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 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 learnLearn how Kotlin and Android work togetherBuild a graphical drawing app using Object-Oriented Programming (OOP) principlesBuild beautiful, practical layouts using ScrollView, RecyclerView, NavigationView, ViewPager and CardViewWrite Kotlin code to manage an apps' data using different strategies including JSON and the built-in Android SQLite databaseAdd user interaction, data captures, sound, and animation to your appsImplement dialog boxes to capture input from the userBuild a simple database app that sorts and stores the user's dataWho this book is for This 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.

Product Details :

Genre : Computers
Author : John Horton
Publisher : Packt Publishing Ltd
Release : 2019-04-30
File : 699 Pages
ISBN-13 : 9781789800883


Spring Boot 2 0 Projects

eBook Download

BOOK EXCERPT:

Develop diverse real-life projects including most aspects of Spring Boot Key Features Run production-grade based applications using the Spring WebFlux framework Learn to develop high performance, asynchronous applications with Spring Boot Create robust microservice-based applications with Kotlin using Spring Boot Book Description Spring is one of the best tools available on the market for developing web, enterprise, and cloud-ready software. The goal of Spring Boot is to provide a set of tools for quickly building Spring applications that are easy to configure, and that make it easy to create and run production-grade Spring-based applications. Spring Boot 2.0 Projects will get you acquainted with important features of the latest version of this application-building tool and will cover basic, as well as advanced topics. The book starts off by teaching you how to create a web application using Spring Boot, followed by creating a Spring Boot-based simple blog management system that uses Elasticsearch as the data store. As you make your way through the chapters, you’ll build a RESTful web services application using Kotlin and the Spring WebFlux framework. Spring WebFlux is a new framework that helps in creating a reactive application in a functional way. Toward the end of the book, you will build a taxi-hailing API with reactive microservices using Spring Boot and a Twitter clone with a Spring Boot backend. Finally, you’ll learn how to build an asynchronous email formatter. What you will learn Learn the fundamental features of Spring Boot 2.0 Customize Spring Boot 2.0 applications Build a basic web application Use Redis to build a taxi-hailing API Create a simple blog management system and a Twitter clone Develop a reactive RESTful web service with Kotlin using Spring Boot Who this book is for This book is for competent Spring developers who wish to understand how to develop complex yet scalable applications with Spring Boot. You must have a good knowledge of Java programming and be familiar with the basics of Spring.

Product Details :

Genre : Computers
Author : Mohamed Shazin Sadakath
Publisher : Packt Publishing Ltd
Release : 2018-07-30
File : 329 Pages
ISBN-13 : 9781789134223


Kotlin Quick Start Guide

eBook Download

BOOK EXCERPT:

Get started with Kotlin programming for building real world applications Key Features Start programming with Kotlin Explore Kotlin language syntax, standard libraries and Java Interoperability Builds an example application with what you learn Book Description Kotlin is a general purpose, object-oriented language that primarily targets the JVM and Android. Intended as a better alternative to Java, its main goals are high interoperability with Java and increased developer productivity. Kotlin is still a new language and this book will help you to learn the core Kotlin features and get you ready for developing applications with Kotlin. This book covers Kotlin features in detail and explains them with practical code examples.You will learn how to set up the environment and take your frst steps with Kotlin and its syntax. We will cover the basics of the language, including functions, variables, and basic data types. With the basics covered, the next chapters show how functions are first-class citizens in Kotlin and deal with the object-oriented side of Kotlin. You will move on to more advanced features of Kotlin. You will explore Kotlin's Standard Library and learn how to work with the Collections API. The book finishes by putting Kotlin in to practice, showing how to build a desktop app. By the end of this book, you will be confident enough to use Kotlin for your next project. What you will learn Programming in Kotlin language syntax, basic types, control ?ow, classes, and OOP Writing functions and functional programming in Kotlin Defning and importing from packages in Kotlin Running Kotlin on JVMs and Android runtimes Working with the Kotlin Standard Library and advanced features of Kotlin programming Setting up a Kotlin development environment with JetBrains tools Building real-world applications with Kotlin Who this book is for This book is intended for anybody who wants to learn the most important Kotlin features. No experience of Kotlin is expected.

Product Details :

Genre : Computers
Author : Marko Devcic
Publisher : Packt Publishing Ltd
Release : 2018-08-31
File : 172 Pages
ISBN-13 : 9781789342598


Hands On Serverless Applications With Kotlin

eBook Download

BOOK EXCERPT:

Choose the right architecture and design it using design patterns to create a serverless application that cuts costs and is easily scalable Key FeaturesDesign enterprise ready serverless applications that effortlessly meet your customers’ requirementsEffectively deploy, manage, monitor, and orchestrate serverless applications using AWSUse Cloud9 to provision a secured development environment in the cloudBook Description Serverless is a cloud computing execution model where the cloud provider dynamically manages the allocation and provisioning of servers. Many companies have started using serverless architectures to cut costs and improve scalability. Hands-On Serverless Applications with Kotlin is your one-stop guide to designing serverless architectures for your applications with AWS and Kotlin. To start with, you’ll explore the fundamentals of serverless architecture and how AWS Lambda functions work. You will then learn to design, build, secure, and deploy your application to production. In addition to these activities, you’ll understand how to implement non-functional requirements such as auditing and logging. Moving on, you’ll discover how to scale up and orchestrate serverless applications using an open source framework and handle distributed serverless systems in production. By the end of the book, you’ll have gained the knowledge needed to build scalable and cost-efficient Kotlin applications with a serverless framework. What you will learnDesign a serverless architectureUse AWS Lambda to contain your serverless APIExplore the various ways to keep serverless apps safe and secureUnderstand how a serverless API allows you to use huge infrastructure and cut costsDiscover how to handle distributed systems in KotlinDesign the data flow between cloud services and custom business logicSecure your Kotlin AWS serverless applicationMaster Kotlin design patterns for serverless applicationsWho this book is for Hands-On Serverless Applications with Kotlin is for you if you are a Kotlin developer who wants to learn about serverless architectures. It is assumed that you have some knowledge of Kotlin programming and AWS.

Product Details :

Genre : Computers
Author : Hardik Trivedi
Publisher : Packt Publishing Ltd
Release : 2018-09-29
File : 378 Pages
ISBN-13 : 9781788991049


Mastering Kotlin

eBook Download

BOOK EXCERPT:

Explore popular language features, Java to Kotlin interoperability, advanced topics, and practical applications by building a variety of sample projects Key FeaturesUnderstand and leverage the syntax, tools, and patterns by writing code in KotlinExplore practical topics such as Java interop, concurrency with coroutines, and functional programmingDiscover how to use Kotlin for build targets like Android, iOS, JavaScript, and backend serviceBook Description Using Kotlin without taking advantage of its power and interoperability is like owning a sports car and never taking it out of the garage. While documentation and introductory resources can help you learn the basics of Kotlin, the fact that it’s a new language means that there are limited learning resources and code bases available in comparison to Java and other established languages. This Kotlin book will show you how to leverage software designs and concepts that have made Java the most dominant enterprise programming language. You’ll understand how Kotlin is a modern approach to object-oriented programming (OOP). This book will take you through the vast array of features that Kotlin provides over other languages. These features include seamless interoperability with Java, efficient syntax, built-in functional programming constructs, and support for creating your own DSL. Finally, you will gain an understanding of implementing practical design patterns and best practices to help you master the Kotlin language. By the end of the book, you'll have obtained an advanced understanding of Kotlin in order to be able to build production-grade applications. What you will learnModel data using interfaces, classes, and data classesGrapple with practical interoperability challenges and solutions with JavaBuild parallel apps using concurrency solutions such as coroutinesExplore functional, reactive, and imperative programming to build flexible appsDiscover how to build your own domain-specific languageEmbrace functional programming using the standard library and ArrowDelve into the use of Kotlin for frontend JavaScript developmentBuild server-side services using Kotlin and KtorWho this book is for If you’re a Kotlin developer looking to further their skills or a professional Java developer looking for better or professional resources in order to make a switch to Kotlin, this book is for you. Familiarity with Kotlin programming will assist with understanding key concepts covered in the book.

Product Details :

Genre : Computers
Author : Nate Ebel
Publisher : Packt Publishing Ltd
Release : 2019-10-11
File : 417 Pages
ISBN-13 : 9781838552367


Hands On Object Oriented Programming With Kotlin

eBook Download

BOOK EXCERPT:

Learn everything you need to know about object-oriented programming with the latest features of Kotlin 1.3 Key FeaturesA practical guide to understand objects and classes in KotlinLearn to write asynchronous, non-blocking codes with Kotlin coroutinesExplore Encapsulation, Inheritance, Polymorphism, and Abstraction in KotlinBook Description Kotlin is an object-oriented programming language. The book is based on the latest version of Kotlin. The book provides you with a thorough understanding of programming concepts, object-oriented programming techniques, and design patterns. It includes numerous examples, explanation of concepts and keynotes. Where possible, examples and programming exercises are included. The main purpose of the book is to provide a comprehensive coverage of Kotlin features such as classes, data classes, and inheritance. It also provides a good understanding of design pattern and how Kotlin syntax works with object-oriented techniques. You will also gain familiarity with syntax in this book by writing labeled for loop and when as an expression. An introduction to the advanced concepts such as sealed classes and package level functions and coroutines is provided and we will also learn how these concepts can make the software development easy. Supported libraries for serialization, regular expression and testing are also covered in this book. By the end of the book, you would have learnt building robust and maintainable software with object oriented design patterns in Kotlin. What you will learnGet an overview of the Kotlin programming languageDiscover Object-oriented programming techniques in Kotlin Understand Object-oriented design patternsUncover multithreading by Kotlin wayUnderstand about arrays and collectionsUnderstand the importance of object-oriented design patternsUnderstand about exception handling and testing in OOP with KotlinWho this book is for This book is for programmers and developers who wish to learn Object-oriented programming principles and apply them to build robust and scalable applications. Basic knowledge in Kotlin programming is assumed

Product Details :

Genre : Computers
Author : Abid Khan
Publisher : Packt Publishing Ltd
Release : 2018-10-31
File : 364 Pages
ISBN-13 : 9781789619645


Exploring The Role Of Icts In Healthy Aging

eBook Download

BOOK EXCERPT:

Technological innovation continues to be present in all areas of our lives, offering seemingly endless possibilities. As technology is increasingly implemented in healthcare applications, it is necessary to understand whether users respond to a predefined organizational strategy of model of care or whether they will become wholly dependent on the healthcare technology. This understanding is especially crucial when dealing with the possibility of generating inequities, especially with individuals that are elderly. Exploring the Role of ICTs in Healthy Aging is a collection of innovative research that proposes the detailed study of a strategic framework for the development of technological innovation in healthcare and for its adoption by health organizations. While highlighting topics including emotional health, quality of life, and telemedicine, this book is ideally designed for physicians, nurses, hospital staff, medical professionals, home care providers, hospital administrators, academicians, students, and researchers. Moreover, the book will provide insights and support executives concerned with the management of expertise, knowledge, information, and organizational development in different types of healthcare units at various levels.

Product Details :

Genre : Medical
Author : Mendes, David
Publisher : IGI Global
Release : 2020-05-31
File : 292 Pages
ISBN-13 : 9781799819387