Android Platform Developer‘s Guide.doc

时间:2013-09-15 13:05:19
【文件属性】:

文件名称:Android Platform Developer‘s Guide.doc

文件大小:475KB

文件格式:RAR

更新时间:2013-09-15 13:05:19

Android

目录如下: Android Platform Developer's Guide 4 About this Guide 4 Intended Audience 4 Getting Started with Android 4 Android Build System 4 In this document 4 Building the Android Platform 6 Building the Android Kernel 8 Build Variants 9 Configuring a New Product 10 In this document 10 Detailed Instructions 11 New Product File Tree 13 Product Definition Files 14 Build Cookbook 15 In this document 15 Building a simple APK 16 Building a APK that depends on a static .jar file 16 Building a APK that should be signed with the platform key 16 Building a APK that should be signed with a specific vendor key 17 Adding a prebuilt APK 17 Adding a Static Java Library 18 Android.mk Variables 18 Creating Release Keys and Signing Builds 26 In this document 26 Introduction 27 Generating keys 27 Signing a build for release 28 Customization 29 In this document 29 Boot Screen Customization 29 Network Customization Platform 30 Customizing pre-loaded applications 31 Customizing browser bookmarks 32 Email Provider Customization 34 Platform Themes 37 Bring Up 38 1. Confirm a Clean Installation of a Basic Linux Kernel 38 2. Modify Your Kernel Configuration to Accommodate Android Drivers 38 3. Write Drivers 38 4. Burn Images to Flash 39 5. Boot the kernel and mount the RAMdisk. 39 6. Debug Android-specific init programs on RAMdisk 39 7. Verify that applications have started 40 8. Pulling it all together 40 Android Init Language 41 Display Drivers 46 In this document 46 Functionality 46 Implementing Your Own Driver (Driver Template) 47 Troubleshooting 54 Keymaps and Keyboard Input 54 In this document 54 Functionality 55 Key Layout Map 56 Key Character Map 58 Implementing Your Own Driver (Driver Template) 61 Sample Implementation 64 Lights 65 In this document 65 Building a Lights Library 66 Interface 66 light_state_t Struct Reference 69 Data Fields 69 Detailed Description 69 Field Documentation 69 Audio 70 In this document 70 Building an Audio Library 71 Interface 72 Camera 78 In this document 78 Building a Camera Library 79 Sequence Diagrams 80 CameraHardwareInterface.h File Reference 82 Namespaces 82 Data Structures 82 Typedefs 83 Functions 83 Power Management 83 Introduction 84 Wake Locks 85 Driver API 87 User-space API 87 Types of Wake Locks 88 Exploring a Wake Lock Example 88 PowerManager class 89 Registering Drivers with the PM Driver 89 Early Suspend 90 Sensors 90 In this document 90 Building a Sensor Library 91 Interface 91 sensors.h File Reference 91 Data Structures 91 Radio Layer Interface 92 In this document 92 RIL Initialization 94 RIL Interaction 94 Implementing the RIL 96 RIL Functions 97 Dalvik 100 In this document 100 Core Libraries 100 JNI Call Bridge 101 Interpreter 102 Mterp Interpreter Structure 102 Getting Started With Mterp 103 Replacing Stubs 105 Interpreter Switching 106 Testing 106 Testing and Debugging 107 Instrumentation Testing 107 In this document 107 Instrumentation Framework 108 Platform Test Suites 109 Running Tests 110 Writing Tests 114 Debugging with GDB 116 In this document 116 Debugging 117 Just-In-Time Debug Feature 119 Debugging Native Code 120 In this document 120 Capturing logs 120 Debug Scenarios 121 Debugging with tcpdump and other tools 128 Installing tcpdump 128 Running tcpdump 129 Other network debugging commands 130


【文件预览】:
Android Platform Developer's Guide.doc

网友评论

  • 虽然是针对2.2版本安卓写的,不过也有借鉴意义
  • 不错,学习android必读资料
  • 挺不错的,看了还是比较有收获。
  • 并不过时啊。里面有Android的许多思想性的东西。
  • 还行,有一定的帮助
  • 尽管针对的版本有一定差异,但对于android系统开发入门有一定帮助。
  • 不错,不过android最新的版本有些不一样了。谁有适合Android2.3的?