
一、Introduction(入门)
0、Introduction to Android(引进到 Android)
Android provides a rich application framework that
allows you to build innovative apps and games for
mobile devices in a Java language environment.
The documents listed in the left navigation provide
details about how to build apps using Android's
various APIs.
To learn how apps work, start
withApp Fundamentals.
To begin coding right away,
readBuilding Your First App
Android 提供了丰富的应用程序框架,它允许您在
Java 语言环境中构建移动设备的创新应用程序和
游戏。在左侧导航中列出的文档提供了有关如何使
用 Android 的各种 API 来构建应用程序的详细信
息。
如何开始一个正确的编码,请参照
建立你的第一个应用程序。
Apps provide multiple entry points
Apps adapt to different devices
Android apps are built as a combination of
distinct components that can be invoked
individually. For instance, an
individual activity provides a single screen for
a user interface, and a service independently
performs work in the background.
Android 应用程序被构建为能够单独地被调用
不同的部件的组合。例如,一个单独的 Activity
提供了一个单个屏幕上的用户界面,和一个
Service 独立地在后台中执行工作。
Android provides an adaptive app
framework that allows you to provide
unique resources for different device
configurations. For example, you can
create different XML layout files for
different screen sizes and the system
determines which layout to apply based
on the current device's screen size.
Android 提供了一个自适应的应用程序
框架,它允许您为不同的设备配置提供不
同的资源。例如,您可以为不同的屏幕尺
寸创建不同的 XML 布局文件并且系统决
定了基于当前屏幕尺寸使用哪些布局。
From one component you can start another
component using an intent. You can even
start a component in a different app, such an
activity in a maps app to show an address.
This model provides multiple entry points for
a single app and allows any app to behave as
a user's "default" for an action that other apps
may invoke.
You can query the availability of device
features at runtime if any app features
require specific hardware such as a
camera. If necessary, you can also
declare features your app requires so
app markets such as Google Play Store
do not allow installation on devices that
do not support that feature.
评论