文件名称:Android.App.Development.in.Android.Studio.Java.Android.Edition.For.Beginners.pdf
文件大小:10.07MB
文件格式:PDF
更新时间:2020-02-27 11:26:54
Android Studio
This book covers Android app design fundamentals in Android Studio using Java programming language. The author assumes you have no experience in app development. The book starts with the installation of the required development environment and setting up the emulators. Then, the simplest "Hello World" app is developed step by step. In the next chapter, basics of the Java programming language are given with practical examples. Screenshots and code snippets are clearly given in the book to guide the reader. After the Java lecture, 6 complete Android apps are developed again by step by step instructions.Each code line is explained. As the reader follows the development of the example apps, he/she will learn designing user interfaces, connecting interface objects to code, developing efficient Java code and testing the app on emulators and real devices. The sample apps developed in this book are as follows: 1. Headlight app: Learn the basics of app development and use buttons in your code. 2. Body mass index (BMI) calculator app: Using input boxes, performing calculations and displaying the results on the screen. 3. Simple dice roller app: Using random number generator functions, including images in your project, displaying images on the screen and changing the displayed image programmatically. 4. The compass app: Accessing the magnetic field sensor, setting required permissions, extracting the direction angle and animating a compass figure. 5. Show my location app: Creating a map project, setting required permissions, accessing GPS device and showing real time location on the map. 6. S.O.S. sender app: Adding SMS functionality, setting required permissions and sending real time location using SMS. This book includes 146 figures and 114 code snippets that are used to explain app development concepts clearly. Full resolution colour figures and project files can be viewed and downloaded from the the book's website: www.android-java.website. Table of Contents CHAPTER 1. INTRODUCTION CHAPTER 2. SETTING UP YOUR DEVELOPMENT ENVIRONMENT CHAPTER 3. TEST DRIVE: THE HELLO WORLD APP CHAPTER 4. JAVA BASICS CHAPTER 5. ANDRIOD APP #1: RED/BLUE LIGHTHEAD CHAPTER 7. ANDRIOD APP #3: SIMPLE DICE ROLLER CHAPTER 8. ANDROID APP #4: THE COMPASS CHAPTER 9. ANDRIOD APP # 5: SHOW MY LOCATION: USING GPS AND MAPS CHAPTER 10. ANDRIOD APP # 6: S.O.S. MESSAGE SENDER