Pro Android with Kotlin



Yüklə 4,6 Kb.
Pdf görüntüsü
səhifə19/231
tarix29.11.2023
ölçüsü4,6 Kb.
#138831
1   ...   15   16   17   18   19   20   21   22   ...   231
@de android telegram Pro Android with Kotlin Developing Modern Mobile

xxvii
Preface
Pro Android with Kotlin
is an addition to the popular Apress series for Android development 
targeting the Java platform. With Kotlin as a highly promising new official language in the 
Android environment, it allows for more elegant programs compared to the Java standard. 
This book deals with advanced aspects of a modern Android app. With a thorough 
description of the important parts of Android system internals and professional-level APIs, 
advanced user interface topics, advanced development topics, in-depth communication 
surveys, professional-level hardware topics including looking at devices other than 
smartphones, a troubleshooting part with guidance on how to fix memory and performance 
problems, and an introduction to app monetizing, the book is an invaluable resource for 
developers wanting to build state-of-the-art professional apps for modern Android devices.
This book is not meant to be an introduction to the Kotlin language. For this aim, please take 
a look at the Kotlin web site or any introductory-level book about Kotlin. What you will find 
here is an attempt to use as many features of Kotlin to write elegant and stable apps using 
less code compared to Java.
In 2017, Android versions 8.0 and 8.1 were introduced. In a professional environment, writing 
apps that depend on new Android 8.
x
features is a bad idea since the worldwide distribution 
of devices running an 8.
x
version is well below 10 percent as of the writing of this book. 
But you can write code targeting versions 4.0 all the way up to 8.0 (thus covering almost 
100 percent of Android devices) by introducing branches in your code. This is what you will 
be doing in this book. I still concentrate on modern 8.
x
development, but if I use modern 
features not available to older versions, I will tell you.
Note that this book does not pay much attention to Android versions older than 4.1 (API level 
16). If you look at the online API documentation, you will find a lot of constructs targeting API 
levels older than 16. Especially when it comes to support libraries, which were introduced 
to improve backward compatibility, development gets unnecessarily complicated if you look 
at API versions older than 16 because the distribution of such devices is less than 1 percent 
nowadays. This book will just assume you are not interested in such old versions, making it 
unnecessary to look at such support libraries in many cases and simplifying development 
considerably.


1
© Peter Späth 2018 
P. Späth, 
Pro Android with Kotlin

https://doi.org/10.1007/978-1-4842-3820-2_1
Chapter
1
System
The Android OS was born as the child of the Android Inc. company in 2003 and was later 
acquired by Google LLC in 2005. The first device running Android came on the market 
in 2008. Since then it has had numerous updates, with the latest version number at the 
beginning of 2018 reading 8.1.
Ever since its first build, the market share of the Android OS has been constantly increasing, 
and by 2018 it is said to be greater than 80 percent. Even though the numbers vary with the 
sources you use, the success of the Android OS is surely undeniable. This victory partly has 
its roots in Google LLC being a clever player in the worldwide smartphone market, but it also 
comes from the Android OS carefully being tailored to match the needs of smartphones and 
other handheld or handheld-like devices.
The majority of computer developers formerly or still working in the PC environment 
would do a bad job utterly disregarding handheld device development, and this 
book’s goal is to help you as a developer understand the Android OS and master the 
development of its programs. The book also concentrates on using Kotlin as a language 
to achieve development demands, but first we will be looking at the Android OS and 
auxiliary development-related systems to give you an idea about the inner functioning of 
Android.
The Android Operating System
Android is based on a specially tailored Linux kernel. This kernel provides all the low-level 
drivers needed to address the hardware, the program execution environment, and low-level 
communication channels.
On top of the kernel you will find the 
Android Runtime
(ART) and a couple of low-level 
libraries written in C. The latter serve as a glue between application-related libraries and the 
kernel. The Android Runtime is the execution engine where Android programs run.
You as a developer hardly ever need to know about the details of how these low-level 
libraries and the Android Runtime do their work, but you will be using them for basic 
programming tasks such as addressing the audio subsystem or databases.



Yüklə 4,6 Kb.

Dostları ilə paylaş:
1   ...   15   16   17   18   19   20   21   22   ...   231




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə