`
linvar
  • 浏览: 254741 次
  • 性别: Icon_minigender_1
  • 来自: 未定
社区版块
存档分类
最新评论

android notes(1)

阅读更多
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.
分享到:
评论

相关推荐

    Android Notes for Professionals

    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代码-Android_Learning_Notes

    Android_Learning_Notes 这是我的安卓学习笔记。 开始时间:2016-9-11 计划:一个半月 文章目录: 基础知识 1、Android01--搭建Android开发环境 2、Android02--认识Activity 3、Android03--Context和Application 4、...

    Android-LearningNotes.zip

    Android-LearningNotes.zip,享受学习。,安卓系统是谷歌在2008年设计和制造的。操作系统主要写在爪哇,C和C 的核心组件。它是在linux内核之上构建的,具有安全性优势。

    Android代码-Simple Notes Pro

    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的开源笔记.zip

    Omni-Notes, Android的开源笔记 omni注意采用开源应用程序既要有简单的接口,又要保持智能行为。项目的灵感来自于缺乏与旧手机和旧版本Android兼容的应用程序。 它旨在提供诱人的外观,并遵循谷歌操作系统最新的设计...

    Android Notes for A development Professionals

    共有266個章節,涉獵的範圍非常廣泛且非常的深入,有原生也有第三方套件的介紹,是一本蠻實用的Android入門書

    S805_Android4.4_MBX_OpenLinux_Notes

    S805_Android4.4_MBX_OpenLinux_Notes

    Android study notes 安卓学习笔记

    Android study notes 安卓学习笔记

    Android-Omni-Notes开源笔记Android应用程序

    Omni-Notes:开源笔记Android应用程序,有许多功能比如分享,搜索,附加图片,视频,音频,在笔记中涂鸦,添加提醒等。

    Notes_记事本Android_android_

    Android 编写基于数据存储的记事本(便笺、记事)

    小米便签Android源码Notes

    小米便签Android源码Notes -----------------来自网络 仅供学习 如有侵权 请联系删除

    Android代码-Fire-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 Mi_Notes源码.rar

    Android源码Notes.zip

    Android开发应用之便签的开发与使用: 具有一定质量、尺码或折痕的适宜于笔记、书信及便条用的书写用笺;便条 引证解释没有正规格式的信笺或记事用纸。

    Android-notes.rar_android

    这份文档里写了关于android基础控件的使用,里面有很多的案例和注释,非常适合android初学者学习。

    Android-notes.zip_android

    android环境相关的笔记,仅限参考。

    Android-Notes.rar_android

    Android开发指南中文版.doc 详尽的开发中文指导手册

    Android代码-Material Notes

    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 ...

    Android代码-NoNonsense Notes

    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 ...

    Android Graphics Performance (Notes)

    google io 2013资料 android graphics performance

Global site tag (gtag.js) - Google Analytics