当前位置:首页 > 嵌入式 > 嵌入式软件
[导读] Android新手入门Android新手入门 (Getting Started with Android)新手入门Android,请首先阅读下面的章节 (To get started with Android, please read the following sec

 Android新手入门

Android新手入门 (Getting Started with Android)

新手入门Android,请首先阅读下面的章节 (To get started with Android, please read the following sections first)

安装SDK和插件 (Installing the SDK and Plugin)

如何安装SDK和Eclipse插件以及如何使用其他工具构建Android应用程序,同时根据向导运行示例程序。(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)

编写你首个Android程序,经典流行的Hello World,Android风格。(Writing your first Android Application, the ever popular Hello World, Android style)

剖析Android程序 (Anatomy of an Android Application )

结构和Android程序构架说明介绍,通过向导将会帮助你理解编写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)

入门指导:构建一个完整的Android程序 (Tutorial: Building a Full Android Application)

入门指导文档将带领你通过构建一个真实的Android应用程序,一个记事本的创建、编辑、删除内容.Android开发网提示涵盖一些基本的概念通过实例。(Android开发网提示涵盖一些基本的概念通过实例。(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)

开发工具 (Development Tools)

一个命令行工具包含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内部运行的生命周期(The important life-cycle details for Applications and Activities running inside of them.)

其他介绍材料 (Other Introductory Material)

在阅读了上面的章节后,下面是入门信息,非常实用。(After reading the sections above, the following Getting Started information is also very useful)

核心包 (Core Packages)

这些是基本包在通过Android SDK来编写应用程序,这些包作为原始层,列出的是从最底层到最高层。(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

提供基本的操作服务,消息传递和进程进程间通讯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处理数据库(contains low-level APIs for working with databases)

android.content

提供各种服务访问数据在设备上,程序安装到设备和其他的相关资源,以及内容提供展示动态数据。(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

提供标准用户界面元素,lists列表 buttons按钮,layout managers布局管理器等等,构建从View包中(supplies standard user interface elements (lists, buttons, layout managers, etc) built from the view package)

android.app

提供高层应用程序模型,实现使用Activities(provides the high-level application model, implemented using Activities)

其他值得注意的包 (Other Notable Packages)

这些包提供附加指定域也行在Android平台,这些必须在基本的应用程序开发(These packages provide additional domain-specific features of the Android platform. They are not necessary for basic application development.)

android.provider

包含定义变量标准内容提供包含在平台中(contains definitions for various standard content providers included with the platform)

android.telephony

提供API交互和设备的通话栈(provides APIs for interacting with the device's phone stack.)

android.webikit

包含一系列API工作在基于web的内容(includes various APIs for working with web-based content)

本站声明: 本文章由作者或相关机构授权发布,目的在于传递更多信息,并不代表本站赞同其观点,本站亦不保证或承诺内容真实性等。需要转载请联系该专栏作者,如若文章内容侵犯您的权益,请及时联系本站删除。
换一批
延伸阅读

毋须依赖实时操作系统(RTOS)的全新低功耗蓝牙开发软件解决方案面世,旨在帮助开发者从传统nRF5 SDK和nRF52系列轻松迁移至新一代nRF54L系列

关键字: 低功耗蓝牙 SoC SDK

柏林2025年9月6日 /美通社/ -- 柏林当地时间9月4日,在德国柏林国际电子消费品展览会(International Funkausstellung Berl...

关键字: 智能家电 RS 测试 扫地机器人

北京2025年8月5日 /美通社/ -- 亚马逊云科技日前宣布,推出Amazon Nova Act SDK有限预览版,可快速帮助客户将基于浏览器的Agent从原型部署至生产环境。该SDK可与亚马逊云科技的多项服...

关键字: SDK 亚马逊 浏览器 自动化

其他电脑(比如安卓手机/平板电脑)的屏幕坏了,你可能想在安排维修之前紧急访问一些东西。你可以使用android的USB OTG功能(是的,几乎每个android都支持这个功能,你可以将鼠标和键盘连接到它)。

关键字: USB 鼠标 Android 树莓派

上海 2025年7月14日 /美通社/ -- 全球财会专业组织ACCA(特许公认会计师公会)今日荣幸宣布,第二十二届全国就业力X未来商业创想大赛圆满落下帷幕,上海财经大学代表队摘得全国总冠军,西南科技大学斩获全国亚军,...

关键字: 大赛 AC 可持续发展 RS

双方签署预防医学联合研究合作协议  提高对可预防疾病的认知  降低医疗成本  德国柏林 2025年7月9日 /美通社/ -- 西门子医疗和柏林夏里特医学院 (Charité – Univers...

关键字: 西门子 BSP 人工智能 RS

BrowserStack推出AI代理套件,以大规模重新定义软件质量 都柏林 2025年7月1日 /美通社/ -- 全球领先的软件测试平台BrowserStack今日宣布推...

关键字: BROWSE STACK RS AI

巴黎和首尔 2025年6月12日 /美通社/ -- 全球AI内容创作先锋SKAI Intelligence今日宣布,将于2025年巴黎VivaTech科技盛会正式发布全球首个完全基于NVIDIA Omniverse构建...

关键字: AI NVIDIA SE RS

Google 宣布与中国 AR 科技公司 XREAL 达成深度战略合作,联合推出全球首款专为 Android XR 平台打造的旗舰级 AR 眼镜 Project Aura。

关键字: Google XREAL Android XR眼镜 AR
关闭