Android新手入門-Android中文SDK
Android新手入門
本文引用地址:http://m.butianyuan.cn/article/201610/305797.htmAndroid新手入門 (Getting Started with Android)
新手入門Android,請(qǐng)首先閱讀下面的章節(jié) (To get started with Android, please read the following sections first)
安裝SDK和插件 (Installing the SDK and Plugin)
如何安裝SDK和Eclipse插件以及如何使用其他工具構(gòu)建Android應(yīng)用程序,同時(shí)根據(jù)向?qū)н\(yùn)行示例程序。(How to install the SDK and Eclipse plugin, or how to use other tools to build Android applications. Also a guide to running the sample applications.)
你好Android (Hello Android)
編寫你首個(gè)Android程序,經(jīng)典流行的Hello World,Android風(fēng)格。(Writing your first Android Application, the ever popular Hello World, Android style)
剖析Android程序 (Anatomy of an Android Application )
結(jié)構(gòu)和Android程序構(gòu)架說明介紹,通過向?qū)?huì)幫助你理解編寫Android程序。(A guide to the structure and architecture of an Android Application. This guide will help you understand the pieces that make up an Android app)
入門指導(dǎo):構(gòu)建一個(gè)完整的Android程序 (Tutorial: Building a Full Android Application)
入門指導(dǎo)文檔將帶領(lǐng)你通過構(gòu)建一個(gè)真實(shí)的Android應(yīng)用程序,一個(gè)記事本的創(chuàng)建、編輯、刪除內(nèi)容.Android開發(fā)網(wǎng)提示涵蓋一些基本的概念通過實(shí)例。(Android開發(fā)網(wǎng)提示涵蓋一些基本的概念通過實(shí)例。(This tutorial document will lead you through constructing a real Android Application: A notepad which can create, edit and delete notes, and covers many of the basic concepts with practical examples)
開發(fā)工具 (Development Tools)
一個(gè)命令行工具包含SDK,你想要做的和如何使用(The command line tools included with the SDK, what they do, and how to use them)
Android程序生命周期 (Life Cycle of an Android Application)
程序和Activites內(nèi)部運(yùn)行的生命周期(The important life-cycle details for Applications and Activities running inside of them.)
其他介紹材料 (Other Introductory Material)
在閱讀了上面的章節(jié)后,下面是入門信息,非常實(shí)用。(After reading the sections above, the following Getting Started information is also very useful)
核心包 (Core Packages)
這些是基本包在通過Android SDK來編寫應(yīng)用程序,這些包作為原始層,列出的是從最底層到最高層。(These are the basic packages that make up the Android SDK for writing applications. The packages are organized as layers, listed here from lowest-level to highest)
android.util
包含一些列底層輔助類,例如特定的容器類,XML輔助工具類等等(contains various low-level utility classes, such as specialized container classes, XML utilities, etc)
android.os
提供基本的操作服務(wù),消息傳遞和進(jìn)程進(jìn)程間通訊IPC(provides basic operating system services, message passing, and inter-process communication)
android.graphics
作為核心渲染包(is the core rendering package)
android.text android.text.method android.text.style android.text.util
提供一套豐富的文本處理工具,支持富文本、輸入模式等等(supply a rich set of text processing tools, supporting rich text, input methods, etc)
android.database
包含底層API處理數(shù)據(jù)庫(contains low-level APIs for working with databases)
android.content
提供各種服務(wù)訪問數(shù)據(jù)在設(shè)備上,程序安裝到設(shè)備和其他的相關(guān)資源,以及內(nèi)容提供展示動(dòng)態(tài)數(shù)據(jù)。(provides various services for accessing data on the device: applications installed on the device and their associated resources, and content providers for persistent dynamic data.)
android.view
核心用戶界面框架(is the core user-interface framework)
android.widget
提供標(biāo)準(zhǔn)用戶界面元素,lists列表 buttons按鈕,layout managers布局管理器等等,構(gòu)建從View包中(supplies standard user interface elements (lists, buttons, layout managers, etc) built from the view package)
android.app
提供高層應(yīng)用程序模型,實(shí)現(xiàn)使用Activities(provides the high-level application model, implemented using Activities)
其他值得注意的包 (Other Notable Packages)
這些包提供附加指定域也行在Android平臺(tái),這些必須在基本的應(yīng)用程序開發(fā)(These packages provide additional domain-specific features of the Android platform. They are not necessary for basic application development.)
android.provider
包含定義變量標(biāo)準(zhǔn)內(nèi)容提供包含在平臺(tái)中(contains definitions for various standard content providers included with the platform)
android.telephony
提供API交互和設(shè)備的通話棧(provides APIs for interacting with the device's phone stack.)
android.webikit
包含一系列API工作在基于web的內(nèi)容(includes various APIs for working with web-based content)
評(píng)論