`

Android术语小全,推荐一下(改日在翻译).

 
阅读更多

下面的术语不错,希望大家能够掌握,我相信能让你更加深入的了解Android,由于刚到深圳,写blog都有点不方便,所以翻译等有时间再议。

Glossary

The list below defines some of the basic terminology of the Android platform.

.apk file
Android application package file. Each Android application is compiled and packaged in a single file that includes all of the application's code (.dex files), resources, assets, and manifest file. The application package file can have any name but must use the .apk extension. For example: myExampleAppname.apk. For convenience, an application package file is often referred to as an ".apk".

Related: Application.

.dex file
Compiled Android application code file.

Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped into a single .apk file on the device. .dex files can be created by automatically translating compiled applications written in the Java programming language.

Action
A description of something that an Intent sender wants done. An action is a string value assigned to an Intent. Action strings can be defined by Android or by a third-party developer. For example, android.intent.action.VIEW for a Web URL, or com.example.rumbler.SHAKE_PHONE for a custom application to vibrate the phone.

Related: Intent.

Activity
A single screen in an application, with supporting Java code, derived from the Activity class. Most commonly, an activity is visibly represented by a full screen window that can receive and handle UI events and perform complex tasks, because of the Window it uses to render its window. Though an Activity is typically full screen, it can also be floating or transparent.
adb
Android Debug Bridge, a command-line debugging application included with the SDK. It provides tools to browse the device, copy tools on the device, and forward ports for debugging. If you are developing in Eclipse using the ADT Plugin, adb is integrated into your development environment. See Android Debug Bridge for more information.
Application
From a component perspective, an Android application consists of one or more activities, services, listeners, and intent receivers. From a source file perspective, an Android application consists of code, resources, assets, and a single manifest. During compilation, these files are packaged in a single file called an application package file (.apk).

Related: .apk, Activity

Canvas
A drawing surface that handles compositing of the actual bits against a Bitmap or Surface object. It has methods for standard computer drawing of bitmaps, lines, circles, rectangles, text, and so on, and is bound to a Bitmap or Surface. Canvas is the simplest, easiest way to draw 2D objects on the screen. However, it does not support hardware acceleration, as OpenGL ES does. The base class is Canvas.

Related: Drawable, OpenGL ES.

Content Provider
A data-abstraction layer that you can use to safely expose your application's data to other applications. A content provider is built on the ContentProvider class, which handles content query strings of a specific format to return data in a specific format. See Content Providers topic for more information.

Related: URI Usage in Android

Dalvik
The Android platform's virtual machine. The Dalvik VM is an interpreter-only virtual machine that executes files in the Dalvik Executable (.dex) format, a format that is optimized for efficient storage and memory-mappable execution. The virtual machine is register-based, and it can run classes compiled by a Java language compiler that have been transformed into its native format using the included "dx" tool. The VM runs on top of Posix-compliant operating systems, which it relies on for underlying functionality (such as threading and low level memory management). The Dalvik core class library is intended to provide a familiar development base for those used to programming with Java Standard Edition, but it is geared specifically to the needs of a small mobile device.
DDMS
Dalvik Debug Monitor Service, a GUI debugging application included with the SDK. It provides screen capture, log dump, and process examination capabilities. If you are developing in Eclipse using the ADT Plugin, DDMS is integrated into your development environment. See Dalvik Debug Monitor Server to learn more about the program.
Dialog
A floating window that that acts as a lightweight form. A dialog can have button controls only and is intended to perform a simple action (such as button choice) and perhaps return a value. A dialog is not intended to persist in the history stack, contain complex layout, or perform complex actions. Android provides a default simple dialog for you with optional buttons, though you can define your own dialog layout. The base class for dialogs is Dialog.

Related: Activity.

Drawable
A compiled visual resource that can be used as a background, title, or other part of the screen. A drawable is typically loaded into another UI element, for example as a background image. A drawable is not able to receive events, but does assign various other properties such as "state" and scheduling, to enable subclasses such as animation objects or image libraries. Many drawable objects are loaded from drawable resource files — xml or bitmap files that describe the image. Drawable resources are compiled into subclasses of android.graphics.drawable. For more information about drawables and other resources, see Resources.

Related: Resources, Canvas

Intent
An message object that you can use to launch or communicate with other applications/activities asynchronously. An Intent object is an instance of Intent. It includes several criteria fields that you can supply, to determine what application/activity receives the Intent and what the receiver does when handling the Intent. Available criteria include include the desired action, a category, a data string, the MIME type of the data, a handling class, and others. An application sends an Intent to the Android system, rather than sending it directly to another application/activity. The application can send the Intent to a single target application or it can send it as a broadcast, which can in turn be handled by multiple applications sequentially. The Android system is responsible for resolving the best-available receiver for each Intent, based on the criteria supplied in the Intent and the Intent Filters defined by other applications. For more information, see Intents and Intent Filters.

Related: Intent Filter, Broadcast Receiver.

Intent Filter
A filter object that an application declares in its manifest file, to tell the system what types of Intents each of its components is willing to accept and with what criteria. Through an intent filter, an application can express interest in specific data types, Intent actions, URI formats, and so on. When resolving an Intent, the system evaluates all of the available intent filters in all applications and passes the Intent to the application/activity that best matches the Intent and criteria. For more information, see Intents and Intent Filters.

Related: Intent, Broadcast Receiver.

Broadcast Receiver
An application class that listens for Intents that are broadcast, rather than being sent to a single target application/activity. The system delivers a broadcast Intent to all interested broadcast receivers, which handle the Intent sequentially.

Related: Intent, Intent Filter.

Layout Resource
An XML file that describes the layout of an Activity screen.

Related: Resources

Manifest File
An XML file that each application must define, to describe the application's package name, version, components (activities, intent filters, services), imported libraries, and describes the various activies, and so on. See The AndroidManifest.xml File for complete information.
Nine-patch / 9-patch / Ninepatch image
A resizeable bitmap resource that can be used for backgrounds or other images on the device. See Nine-Patch Stretchable Image for more information.

Related: Resources.

OpenGL ES
Android provides OpenGL ES libraries that you can use for fast, complex 3D images. It is harder to use than a Canvas object, but better for 3D objects. The android.opengl and javax.microedition.khronos.opengles packages expose OpenGL ES functionality.

Related: Canvas, Surface

Resources
Nonprogrammatic application components that are external to the compiled application code, but which can be loaded from application code using a well-known reference format. Android supports a variety of resource types, but a typical application's resources would consist of UI strings, UI layout components, graphics or other media files, and so on. An application uses resources to efficiently support localization and varied device profiles and states. For example, an application would include a separate set of resources for each supported local or device type, and it could include layout resources that are specific to the current screen orientation (landscape or portrait). For more information about resources, see Resources and Assets. The resources of an application are always stored in the res/* subfolders of the project.
Service
An object of class Service that runs in the background (without any UI presence) to perform various persistent actions, such as playing music or monitoring network activity.

Related: Activity

Surface
An object of type Surface representing a block of memory that gets composited to the screen. A Surface holds a Canvas object for drawing, and provides various helper methods to draw layers and resize the surface. You should not use this class directly; use SurfaceView instead.

Related: Canvas

SurfaceView
A View object that wraps a Surface for drawing, and exposes methods to specify its size and format dynamically. A SurfaceView provides a way to draw independently of the UI thread for resource-intensive operations (such as games or camera previews), but it uses extra memory as a result. SurfaceView supports both Canvas and OpenGL ES graphics. The base class is SurfaceView.

Related: Surface

Theme
A set of properties (text size, background color, and so on) bundled together to define various default display settings. Android provides a few standard themes, listed in R.style (starting with "Theme_").
URIs in Android
Android uses URI strings as the basis for requesting data in a content provider (such as to retrieve a list of contacts) and for requesting actions in an Intent (such as opening a Web page in a browser). The URI scheme and format is specialized according to the type of use, and an application can handle specific URI schemes and strings in any way it wants. Some URI schemes are reserved by system components. For example, requests for data from a content provider must use the content://. In an Intent, a URI using an http:// scheme will be handled by the browser.
View
An object that draws to a rectangular area on the screen and handles click, keystroke, and other interaction events. A View is a base class for most layout components of an Activity or Dialog screen (text boxes, windows, and so on). It receives calls from its parent object (see viewgroup, below)to draw itself, and informs its parent object about where and how big it would like to be (which may or may not be respected by the parent). For more information, see View.

Related: Viewgroup, Widget

Viewgroup
A container object that groups a set of child Views. The viewgroup is responsible for deciding where child views are positioned and how large they can be, as well as for calling each to draw itself when appropriate. Some viewgroups are invisible and are for layout only, while others have an intrinsic UI (for instance, a scrolling list box). Viewgroups are all in the widget package, but extend ViewGroup.

Related: View

Widget
One of a set of fully implemented View subclasses that render form elements and other UI components, such as a text box or popup menu. Because a widget is fully implemented, it handles measuring and drawing itself and responding to screen events. Widgets are all in the android.widget package. <!-- <dt id="panel">Panel</dt> <dd> A panel is a concept not backed by a specific class. It is a View of some sort that is tied in closely to a parent window, but can handle clicks and perform simple functions related to its parent. A panel floats in front of its parent, and is positioned relative to it. A common example of a panel (implemented by Android) is the options menu available to every screen. At present, there are no specific classes or methods for creating a panel &mdash; it's more of a general idea. </dd> -->
Window
In an Android application, an object derived from the abstract class Window that specifies the elements of a generic window, such as the look and feel (title bar text, location and content of menus, and so on). Dialog and Activity use an implementation of this class to render a window. You do not need to implement this class or use windows in your application.
↑ Go to top
分享到:
评论

相关推荐

    Android平台计算机专业英文术语查询系统研究.pdf

    【Android 平台计算机专业英文术语查询系统】是一款专为高校学生设计的移动应用,旨在帮助他们在双语教学环境中方便快捷地查找计算机专业的英文术语。系统基于Android平台开发,考虑到Android设备的广泛普及,旨在...

    Android Studio 翻译插件

    **Android Studio 翻译插件** Android Studio是一款由Google推出的强大的Android应用开发集成环境,它基于IntelliJ IDEA,提供了丰富的工具集来帮助开发者高效地编写、测试和调试应用程序。在开发过程中,经常会...

    Android-varTrans:一款中文转变量的androidstudi(idea)插件

    然而,需要注意的是,虽然varTrans提高了开发效率,但过度依赖翻译工具可能会影响开发者对英文编程思维的培养,因此在使用过程中,开发者仍需保持对英文编程术语的理解和掌握。 总的来说,Android-varTrans插件是...

    android-studio-2020.3.1.23.7z

    《Android Studio 2020.3.1.23:官方原版解析与使用指南》 Android Studio作为Google官方推出的Android应用开发集成开发环境(IDE),是Android开发者的重要工具。此版本号为2020.3.1.23的Android Studio,是基于...

    IDE翻译插件TranslationPlugin.zip

    3. **翻译插件**: 这类工具可以帮助程序员在编程过程中快速翻译技术术语、API文档或错误消息,提高开发效率。TranslationPlugin不仅提供翻译,还支持单词朗读,对于学习语言和理解语境非常有用。 4. **中英互译**: ...

    Android Studio 汉化工具

    【Android Studio 汉化工具】是一款专为开发者设计的工具,旨在帮助用户将Android Studio的操作界面和文档从英文翻译成中文,以便于理解和使用。Android Studio是Google官方推出的集成开发环境(IDE),广泛用于...

    Android Studio 2.0 汉化包

    Android Studio是Google官方推出的集成开发环境(IDE),专为Android应用开发设计。它基于IntelliJ IDEA,提供了许多针对Android开发优化的功能,如快速代码编辑、智能代码完成、高效的项目导航以及强大的调试工具等...

    ASP+ACCESS课程教学网站信息交流与发布系统(源代码+论文+外文翻译).zip

    在现代Web开发中,跨平台兼容性是关键,开发者可能会使用响应式设计或特定的移动应用框架(如PhoneGap或React Native)来确保在Android设备上的良好用户体验。 论文部分可能包含关于系统设计、实现细节、性能评估...

    Poedit-3.0.6387-setup

    - 在Poedit中,用户可以实时预览翻译结果,这在处理GUI应用或者网页的本地化时尤为有用,确保翻译的字符串在实际环境中看起来和预期一致。 6. **多种语言支持** - Poedit不仅支持各种编程语言的gettext文件,还...

    I2 Localization本地化.zip

    翻译游戏名称所有语言,并在Android / IOS商店中显示您的游戏支持哪些语言 简单但功能强大的编辑器 直观的检查员允许您预览,编辑,分类,创建,解析和过滤甚至大型来源。 编译时间检查 将翻译转换为脚本常量,以...

    ColorDict词库目录

    无论是在个人学习还是在专业领域,ColorDict词库目录都是一个值得推荐和利用的重要工具。 从本质上来说,ColorDict词库目录是连接学习者和开发者,技术与应用之间的桥梁。通过这种可定制的词库资源,用户可以不断...

    qt -- i18n.zip

    在本示例中,`languagechooser.cpp`和`mainwindow.cpp`可能包含了使用QTranslator加载和切换翻译的逻辑。 4. **QLocale类**:QLocale提供有关特定地区的语言、货币、日期和时间格式等信息,帮助应用程序以符合用户...

    本地化工具.zip个

    - **翻译工作流**:支持与翻译团队协同工作,提供翻译记忆和术语管理功能,保证一致性。 - **预览功能**:允许开发者在不同语言环境下预览应用,检查布局和排版是否适应各种文本长度。 - **自动化**:通过自动化...

    LICENSE-2.0.txt

    - **问题描述**:用户在尝试将Android Development Tools (ADT)安装到Eclipse Classic 3.6.1时遇到错误,提示无法完成安装,因为找不到必需的组件。 - **错误详情**: - 当前已安装的软件:共享配置文件1.0.0....

    安卓汉化包

    安卓汉化包通常包含了各种开发工具的中文翻译资源,例如Android Studio的界面元素。资源文件如`resources_en.jar`是存储这些翻译内容的载体,它包含了应用程序或软件中的英文文本和对应的中文翻译。汉化包的安装...

    IKAnalyzer中文分词包

    这个分词包是博主在个人博客中推荐并使用的,同时也可从官方网站获取,确保了其可靠性和时效性。 **1. 分词原理** 中文分词是自然语言处理中的关键步骤,因为中文没有明显的空格来划分词汇,需要通过算法来识别...

    Delphi XE2 IDE 中英文一键切换.rar

    切换后,如果遇到不熟悉的新术语,可以通过在线翻译或社区论坛寻找答案。此外,如果出现语言切换后IDE运行异常的情况,可能需要重新启动IDE或者系统,甚至可能需要恢复备份的配置文件来解决问题。 总之,Delphi XE2...

    View触发事件

    `ShouShi`这个词在中文中可能是“手势”的意思,但在这里可能是翻译错误或者是自定义的术语。如果是手势识别,那么可能涉及到`GestureDetector`类,它可以识别滑动、长按等手势。开发者可以通过重写`GestureDetector...

    MyEclipse2014汉化

    MyEclipse2014是一款深受开发者喜爱的集成开发环境(IDE),专为Java、Web、J2EE、Android等应用程序开发设计。它基于Eclipse平台,提供了丰富的功能集,包括代码编辑、调试、测试、部署等,极大地提高了开发效率。...

    java编程文档

    专业术语的翻译遵循标准译法,并在易产生歧义之处标注英文原文,帮助读者准确理解。参与翻译的团队成员包括陈昊鹏、饶若楠、薛翔、郭嘉和方小丽,他们共同努力,精益求精,以确保翻译质量。 此外,书中提到的信息...

Global site tag (gtag.js) - Google Analytics