Android 4 advanced programming (version 3rd)
Basic Information
Original Title: Professional Android 4 Application Development
Author: (English) Reto Meier
Translator: Yan Jianwei Zhao Kai
Series name: mobile development classic series
Press: Tsinghua University Press ISBN: 9787302315582 Release Date: April 2013 publication date: Open Book: 16 open page: 1 release: 3-1 category: Computer> Software and programming> mobile development> android
For more information, the computer book Android 4 advanced programming (version 3rd) is compiled by Android experts, covers all the latest content and is an ideal guide for learning to develop mobile applications using the android 4 SDK. This book has profound insights and helps experienced Android Developers fully tap into the potential of new features of Android 4. It also explains the basic knowledge of Android development, allowing beginners to get started with this book. As a guiding book for practical purposes, this book will guide you gradually to complete more and more complex Android projects. Each project introduces a new Android platform feature, it also highlights the technologies and best practices that help write fascinating applications. Featured in this book ◆ in-depth analysis of Android Application Components and lifecycles ◆ explores Android UI principles, design concepts, and UI APIs, the user interface is eye-catching on mobile phones, tablets, and TVs ◆ introduction to creating map-based applications and using location-based services ◆ explains how to create background services, notifications and cloud to device messaging ◆ demonstrate how to create dynamic and interactive home screen microware and live wallpaper ◆ explore hardware and communication APIs, including Bluetooth, phone, Wi-Fi direct, NFC and Android beam ◆ explains how to use cameras and hardware sensors ◆ details the new animation frame and other features that enhance user experience, including drag-and-drop, action bar, and fragment ◆ added a chapter on application release ◆ introduced license verification and the paid service directory in the application, Android 4 advanced programming (version 3rd) chapter 1st about Android 11.1 background information not far from 1.1.1 In the past 21.1.2 future prospects 21.2 misunderstandings about Android 31.3 Android: open Mobile development platform 31.4 native Android app 41.5 Android SDK features 51.5.1 access to hardware (including cameras, GPS and sensors) 51.5.2 use Wi-Fi, Bluetooth Technology and NFC for data transmission 61.5.3 map, geocode and location-based service 61.5.4 Background Service 61.5.5 use SQLite database for data storage and retrieval 71.5.6 shared data and applications inter-program communication 71.5.7 use widgets and live wallpaper to enhance the main screen 71.5.8 wide range of media support and 2D/3D graphics 71.5.9 cloud to device messaging81.5.10 optimized memory and process management 81.6 Open Mobile Alliance introduction 81.7 run android environment 91.8 reasons for mobile development 91.9 reasons for Android development 91.9.1 reasons for promoting Android popularization 101.9.2 Android uniqueness 101.9.3 changing the mobile development landscape 111.10 development framework overview 111.10.1 understanding of resources 121.10.2 in the Development Kit android software stack 121.10.3 Dalvik Virtual Machine 141.10.4 Android Application Architecture 141.10.5 Android database 15 chapter 15 start 2nd preparations before Android development 182.1.1 start 182.1.2 create the first Android Application 242.1.3 Android Application type 312.2 design considerations for mobile and embedded device development 322.2.1 hardware restrictions 322.2.2 consideration of user environment 352.2.3 Android development 362.3 Android development tool 402.3.1 Android Virtual Device Manager 412.3.2 Android SDK manager 422.3.3 android simulator 422.3.4 Dalvik debugging Monitoring Service (ddms) 422.3.5 Android debugging bridge (ADB) 432.3.6 hierarchy viewer and lint tools 432.3.7 monkey and monkey runner43 chapter 3rd create application and activity453.1 components of Android Application 463.2 application manifest file introduction 473.3 use manifest editor 543.4 separate resource 553.4.1 create Resource 553.4.2 use resource 633.4.3 to create resources for different languages and hardware 663.4.4 runtime configuration change 683.5 Android Application lifecycle 703.6 understanding application priority and Process status 703.7 Android Application class introduction 723.7.1 extensions and use the application class 723.7.2 to override the application's lifecycle event 733.8 in-depth exploration Android activity743.8.1 to create the lifecycle of activity743.8.2 activity 763.8.3 Android activity class 81 Chapter 4th create user interface 834.1 Android UI basic design 844.2 Android UI basic knowledge 844.3 layout overview 854.3.1 define layout 864.3.2 use layout to create a device-independent ui874.3.3 optimize layout 904.4 to-do list example 934.5 fragment introduction 1004.5.1 create a new fragment1014.5.2 fragment lifecycle 1014.5.3 fragment manager Introduction 1054.5.4 Add the restore fragment interface to the activity 1104.5.6 without the fragment1114.5.7 Android fragment class 1124.5.8 on the user interface to-do list example use fragment1124.6 Android widget toolbox 1164.7 to create a new view 1174.7.1 create a composite control 1224.7.3 create a simple Composite Control 1244.7.4 create a custom view 1244.7.5 use a custom control 1374.8 adapter overview 1374.8.1 part Native adapter introduction 1384.8.2 custom connector use the adapter to bind data view Chapter 139 intent and broadcast intent introduction 1455.1.1 use intent to start activity1465.1.2 linkify introduction 1535.1.3 use intent broadcast event 1555.1.4 local broadcast pending intent introduction 5th create intent filter and broadcast receiver1615.2.1 use intent Filter provide services for implicit intent 1615.2.2 use intent filter as plug-in and extended 1705.2.3 listen to local broadcast intent1735.2.4 use broadcast intent to monitor device status changes 1745.2.5 manage manifest receiver176 chapter 6th use Internet resources 1776.1 download and analyze internet resources 1776.1.1 connect to Internet resources 1786.1.2 use XML pull parser to analyze xml1796.1.3 create an earthquake viewer 1806.2 use download volume to download the file 1866.2.2 custom Download Manager icationication1876.2.3 specified download location 1886.2.4 cancel and delete download 1896.2.5 query download manager1896.3 use Internet service 1926.4 connect to Google app engine1926.5 download data without consuming power best practices Chapter 194 files, save status and preferences 7th save simple application data 1957.1 create and save shared preference1967.3 search shared items create a setting activity1977.5 preference framework and preference activity overview 2057.5.1 define a preference screen layout in XML 2067.5.2 preference fragment introduction 2087.5.3 use preference header to define the level of preference Fragment structure 2087.5.4 preference activity overview 2097.5.5 backward compatibility and preference screen2107.5.6 find and use the shared criteria shared preference change listener set by preference screen introduction 2117.6 create a standard preference activity2117.7 persistent application instance for the seismic Viewer status 2157.7.1 use shared preference to save activity status 2157.7.2 use lifecycle handler to save and restore activity instance 2157.7.3 use lifecycle handler to save and restore fragment instance status 2167.8 add static files as resources 2187.9 in file System work 2187.9.1 file management tool 2187.9.2 use application-specific folders to store files 2197.9.3 create private Application Files 2197.9.4 use application File Cache 2207.9.5 store public readable files Chapter 220 database and content provider2238.1 Android database introduction 2238.1.1 SQLite database introduction 2248.1.2 content provider introduction 2248.2 SQLite introduction 2248.3 content value and cursor2258.4 use SQLite database 2258.4.1 sqliteopenhelper introduction 2268.4.2 open and enable without sqliteopen helper create Database 2288.4.3 Android database design considerations 2288.4.4 query database 2288.4.5 extract value 2298.4.6 from cursor add, update, and delete row 2308.5 create content provider2328.5.1 register content provider2338.5.2 publish content provider URI address 2338.5.3 create content provide database 2348.5.4 implements content provider query 2358.5.5 content provider transaction 236