An application in Android is defined by the contents of its manifest

android,一个应用程序被明确定义在清单目录里.

An application in Android is defined by the contents of its manifest. Each

Android application declares all its activities, entry points, communication layers, permissions, and intents throughAndroidManifest.xml. Four basic building blocks, when combined, comprise a rich Android application:

每个android应用程序通过AndroidManifest.xml声明所有它的活动,进入点,通讯层,许可权和intents[意图].四个基本建立模块,当组合起来,包括一个富的Android应用程序:

Activity: The most basic building block of an Android application

Activity:一个Android应用程序最基本的建立模块

Intent receiver: A reactive object launched to handle a specific task

Intent receiver:使一个反应对象开始处理一个特定的任务.

Service: A background process with no user interface

Service:没有用户界面的一个后台进程

Content provider: A basic superclass framework for handling and storing data

Content provider:一个基本超类框架用于处理和收集数据

In this chapter, I’ll break down each specific piece with a concrete

functional example. First up is the activity, the core building block of a

stand-alone Android application.

在这一章里,我将一个具体的功能例子分解成每一个特定部分.首先提到的是activity,一个独立的Android应用程序核心组成模块.

Getting Active

All Android mobile applications, at least in the traditional sense, will

revolve around an activity.

所有Android手机应用程序,至少从传统上的感觉,将围绕着一个activity.

If you’ve had any experience with other mobile platforms, Android’s activity is quite similar to BREW’s applet or Java ME’s midlet. There are, however, a few very important differences.

如果你已经有其它平台上的这方面任何的经验,Androidactivity是十分相拟于BREW’s applet或者JAVA ME’s midlet.然而,有几个非常重要的差别.

更多相关文章

  1. 利用HTML5开发Android应用程序 PPT
  2. [转]Android的应用程序结构分析:HelloActivity
  3. Android应用程序请求SurfaceFlinger服务创建Surface的过程分析
  4. Android应用程序结构
  5. Android应用程序的Activity启动过程简要介绍和学习计划
  6. Android应用程序资源
  7. Android重启应用程序 && 不重启应用不改变系统语言改变 Android
  8. Android:保护自己开发的Android应用程序
  9. 第三部分:Android 应用程序接口指南---第一节:应用程序组件---第六

随机推荐

  1. android ContentResolver和ContentProvid
  2. android (21)
  3. mac上AndroidStudio自带的SDK manager 系
  4. android aidl摘要
  5. Android之requestFocus焦点移动问题
  6. Android Asynchronous Http Client - 开
  7. Android 中 px、dp、dip、sp详解
  8. Android实现界面刷新
  9. Android启动界面优化技巧-Splash Screens
  10. Android 中LayoutInflater(布局加载器)之实