`
- 浏览:
254741 次
- 性别:
- 来自:
未定
-
1. Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.
2. Application Fundamentals:
Android applications are written in the Java programming language. The compiled Java code — along with any data and resource files required by the application — is bundled by the aapt tool into an Android package, an archive file marked by an .apk suffix. This file is the vehicle for distributing the application and installing it on mobile devices; it's the file users download to their devices. All the code in a single .apk file is considered to be one application.
3. Application Components
Android applications don't have a single entry point for everything in the application (no main() function, for example). Rather, they have essential components that the system can instantiate and run as needed. There are four types of components:
a. Activities
An activity presents a visual user interface for one focused endeavor the user can undertake. Each one is implemented as a subclass of the Activity base class.
b. Services
A service doesn't have a visual user interface, but rather runs in the background for an indefinite period of time.Each service extends the Service base class.
c. Broadcast receivers
A broadcast receiver is a component that does nothing but receive and react to broadcast announcements.
d. Content providers
A content provider makes a specific set of the application's data available to other applications. The data can be stored in the file system, in an SQLite database, or in any other manner that makes sense. The content provider extends the ContentProvider base class
4. Activating components: intents
Content providers are activated when they're targeted by a request from a ContentResolver. The other three components — activities, services, and broadcast receivers — are activated by asynchronous messages called intents. An intent is an Intent object that holds the content of the message.
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
The Android™ Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative ...
Android_Learning_Notes 这是我的安卓学习笔记。 开始时间:2016-9-11 计划:一个半月 文章目录: 基础知识 1、Android01--搭建Android开发环境 2、Android02--认识Activity 3、Android03--Context和Application 4、...
Android-LearningNotes.zip,享受学习。,安卓系统是谷歌在2008年设计和制造的。操作系统主要写在爪哇,C和C 的核心组件。它是在linux内核之上构建的,具有安全性优势。
Simple Notes A simple textfield for adding quick notes. Need to take a quick note of something to buy, an address, or a startup idea? Then this is the app you've been looking for! No complicated ...
Omni-Notes, Android的开源笔记 omni注意采用开源应用程序既要有简单的接口,又要保持智能行为。项目的灵感来自于缺乏与旧手机和旧版本Android兼容的应用程序。 它旨在提供诱人的外观,并遵循谷歌操作系统最新的设计...
共有266個章節,涉獵的範圍非常廣泛且非常的深入,有原生也有第三方套件的介紹,是一本蠻實用的Android入門書
S805_Android4.4_MBX_OpenLinux_Notes
Android study notes 安卓学习笔记
Omni-Notes:开源笔记Android应用程序,有许多功能比如分享,搜索,附加图片,视频,音频,在笔记中涂鸦,添加提醒等。
Android 编写基于数据存储的记事本(便笺、记事)
小米便签Android源码Notes -----------------来自网络 仅供学习 如有侵权 请联系删除
Fire-Notes A simple android notes app using Google's Firebase as the backend Screenshots Home New Note View Note Edit Fire Note
android Mi_Notes源码.rar
Android开发应用之便签的开发与使用: 具有一定质量、尺码或折痕的适宜于笔记、书信及便条用的书写用笺;便条 引证解释没有正规格式的信笺或记事用纸。
这份文档里写了关于android基础控件的使用,里面有很多的案例和注释,非常适合android初学者学习。
android环境相关的笔记,仅限参考。
Android开发指南中文版.doc 详尽的开发中文指导手册
Material Notes / Scarlet / Scarlet Pro on Android This is the code which powers the Material Notes / Scarlet Notes app on Android by Maubis Apps. Material Notes is the fully offline FDroid version of ...
as a possible replacement, see https://github.com/orgzly/orgzly-android instead The source will be left available here in case it is useful to anyone but it is extremely unlikely to receive further ...
google io 2013资料 android graphics performance