文件名称:
mastering-android-development-kotlin.pdf
开发工具:
文件大小: 16mb
下载次数: 0
上传时间: 2019-10-14
详细说明:mastering-android-development-kotlin.pdf,英文文字版。Mastering Android development with Kotlin
CopyrightC 2017 Packt Publishing
All rights reserved. No part of this book may be reproduced stored in a retrieval system, or
transmitted in any form or by any means without the prior written permission of the
publisher, except in the case of brief quotations embedded in critical articles or reviews
Every effort has been made in the preparation of this book to ensure the accuracy of the
information presented. However, the information contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its
dealers and distributors will be held liable for any damages caused or alleged to be caused
directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals
However, Packt Publishing cannot guarantee the accuracy of this information
First published: November 2017
Production reference: 1061117
Published by Packt Publishing Ltd
Livery Place
35 Livery Street
Bi
birmingham
B3 2PB. UK
ISBN978-1-78847-369-9
www.packtpub.com
Credits
Author
Copy editor
Milos vasic
Zainab bootwala
Reviewer
Project Coordinator
Vanja petkovic
Prajakta naik
Commissioning editor
Proofreader
Richa tripath
Safis editing
8
Acquisition Editor
Indexer
Sandeep mishra
Francy Puth
Content Development editor
Graphics
akshada lyer
Jason monteiro
Technical editor
Production coordinator
Supriya thabe
Arvindkumar Gupta
About the author
Milos vasic is a software engineer, author, and open source enthusiast. He holds a
bachelor's degree in the programming of computer graphics and a master's degree in the
field of Android programming, both degrees were gained at Singidunum University. He
published his first book, Fundamental Kotlin, in October 2016, thus achieving his dream of
becoming an author. He's currently employed at the robert bosch company where he's
working on SDKs for the auto-industry. When he is not working on new books, Milos
works on his open source projects
Acknowledgments
This book has been a long and fun journey that I would not have manage to accomplish
without help. So I think it's only polite to give gratitude
First of all, i would like to thank my girlfriend and personal assistant maja she was the one
who supported me and helped me while writing my first book Fundamental Kotlin and
continued to do so with this one. she improved this book greatly by helping me write
coherent text that is understandable even for those who are not experienced in
g
rogrammins
Next i would like to thank my editor at packt Akshada. She was the best editor i could ask
for and she helped me immensely with excellent advices and endless patience. The whole
team at Packt that stands behind was book was incredibly supportive and helpful
Big thanks also to my friends who tolerated me and constantly filled me up with large
amounts of coffee. especially to my friend vanja petkovic. He was the technical editor for
this book and it wouldn t be the same without him
And last but not least I would like to thank to my family for supporting me in my dream of
becoming software engineer. They were with me and they were patient during all my
phases! But, the most important of all, they believed in me!
None of this would be possible if there weren 't people who read my first book. I am forever
grateful for their support. See you in my next book
Best wishes
Milos
About the reviewer
Vanja Petkovic studied math and computer science at Belgrade University, Serbia. There,
he also obtained his msc in computer science. he has been working as a software engineer
for more than 13 years. Currently he lives in Switzerland and works for Leica geosystems
in the 3d scanning department he has specialized in software development for mobile
devices and backend services. He started with software development for Palm Os, through
Windows Mobile Os and Blackberry os to Android Os and iOS today. His preferred
weapons for developing backend services are Java and spring
www.paCktpub.com
Forsupportfilesanddownloadsrelatedtoyourbookpleasevisitwww.packtpub.Com
Did you know that packt offers e book versions of every book published, with pdf and
epubfilesavailableyoUcanupgradetotheebookversionatwww.packtpub.comandasa
print book customer, you are entitled to a discount on the ebook copy. Get in touch with us
at servicepacktpub com for more details
Atwww.packtpub.comyoucanalsoreadacollectionoffreetechnicalarticlessignupfora
range of free newsletters and receive exclusive discounts and offers on Packt books and
eBooKs
aDapt
https://www.packtpub.com/mapt
Get the most in-demand software skills with mapt mapt gives you full access to all packt
books and video courses, as well as industry-leading tools to help you plan your personal
development and advance your career
Why subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
Customer Feedback
Thanks for purchasing this Packt book. At Packt, quality is at the heart of our editorial
process. To help us improve, please leave us an honest review on this book's Amazon page
athttps://www.amazoncom/dp/1788473698.
If you'd like to join our team of regular reviewers you can e-mail us at
customerreviewsapacktpub com We award our regular reviewers with free eBooks and
videos in exchange for their valuable feedback. Help us be relentless in improving our
products!
Table of contents
Preface
Chapter 1: Starting with android
6
Why Kotlin?
Kotlin for android- it's official
8
Downloading and configuring Android Studio
8
Setting up Android emulators
9
Creating a new AVD instance
Duplicating an existing AVd and modifying it by need
18
Android Debug Bridge
19
other important tools
21
Initializing a Git repository
23
Creating an Android project
24
Setting up Gradle
32
Explaining directory structure
Defining build types and flavors
40
Additional libraries
43
Getting familiar with Android Manifest
44
Main Application class
46
Your first screen
47
Summary
49
Chapter 2: Building and running
50
Running your first Android application
50
Meet the Logcat
53
irst case
61
Using the Gradle build tool
64
Debug your application
65
Summary
72
Chapter 3: Screens
Analyzing the mockup plan
Defining application activities
76
Android layouts
80
Using EditText views
88
The margins attribute
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.