`
zjupw
  • 浏览: 3098 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
最近访客 更多访客>>
社区版块
存档分类
最新评论

Android Study Notes - Application Fundamentals

 
阅读更多

Application Fundamentals

 

Android applications are written in Java programming language, compiled into a *.apk file

 

 

  • Each application is assigned an unique Linux User ID by default, which is unknown to itself. 
  • Each application runs in its own process and has its own virtual machine(Dalvik)

 

However, two applications can have the same User ID for the purpose of sharing data and they can run in the same process and share the same VM. An application must be granted permission to access device data by the user at install time.

 

Application Components

 

Components are the essential building blocks of an application. Not all components are entry points for the user. Here are four different types of components:

 

 

Each application cannot activate other application component directly, it deliver a message to the system specifying which component it want to start.

Activity, Service and Broadcast are activated by asynchronouns message, whereas Content provider is activated by Content resolver. Here are the ways:

 

  • pass Intent to startActivity, startActivityForResult
  • pass Intent to startService, bindService
  • pass Intent to sendBroadcast, sendOrderedBroadcast or sendStickyBroadcast
  • calling query on ContentResolver

Manifest

 

a description of the application, to inform the system about the application, including component capabilities, requirements.

 

Resource

 

non-code resources, all are referenced by a generated ID

 

分享到:
评论

相关推荐

    android-kotlin-fundamentals-apps,Android Kotlin Fundamentals应用程序.zip

    本篇将深入探讨"android-kotlin-fundamentals-apps"这个开源项目,它是一个专为学习Android Kotlin Fundamentals设计的应用程序集合。这些应用程序涵盖了Kotlin在Android开发中的基本概念和最佳实践,对于初学者和有...

    Android-Developer-Fundamentals-Version-2.rar

    "Android-Developer-Fundamentals-Version-2.rar" 文件包含了一个全面的学习资源,旨在帮助你掌握Android开发的核心概念和技术。通过这个教程,你将学习如何使用Java编程语言构建功能丰富的Android应用程序。 一、...

    Microsoft SQL Server 2008 T-SQL Fundamentals

    《Microsoft SQL Server 2008 T-SQL Fundamentals》是一本专为SQL Server初学者设计的教程,它深入浅出地介绍了Transact-SQL(T-SQL)的基础知识。T-SQL是SQL Server中用于数据查询、更新、操作和编程的主要语言。...

    android系统文件application fundamentals翻译

    《Android系统文件Application Fundamentals详解》 Android应用开发的基础知识是每个Android开发者必须掌握的核心技能。Application Fundamentals作为Android开发平台的重要文档,详尽地阐述了Android应用的基本...

    Microsoft SQL Server 2012 T-SQL Fundamentals

    Get started with the fundamentals of Transact-SQL and learn how to write efficient and powerful database queries. With this hands-on guide, you'll gain a solid understanding of T-SQL and good ...

    Core Java Volume I--Fundamentals(10th) epub

    Core Java Volume I--Fundamentals(10th) 英文epub 第10版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    Core Java Volume I--Fundamentals 9th Edition

    《Core Java Volume I--Fundamentals 9th Edition》是一本专注于Java基础的教学书籍,由Cay S. Horstmann和Gary Cornell合著,是Java核心技术的最新第九版。本书不仅包括了Java编程的基础知识,还提供了诸多实际案例...

    Core Java(Volume I--Fundamentals 9th Edition)

    总的来说,《Core Java(Volume I--Fundamentals 9th Edition)》作为Java编程学习的权威资料,不仅为读者提供了深入理解Java编程语言和核心技术的途径,同时也反映了学习Java后如何实现职业发展和薪资提升的可能性。...

    Linux Programming by Example - The Fundamentals

    Linux Programming by Example - The Fundamentals

    Core Java Volume I--Fundamentals (9th Edition).mobi

    Java核心技术第九版Java7,Mobi格式电子书。Core Java Volume I--Fundamentals (9th Edition)

    高清版-10[1].Cisco IOS-XR Fundamentals-破解版

    高清版-10[1].Cisco IOS-XR Fundamentals-破解版

    T-SQL Fundamentals

    《T-SQL Fundamentals》是数据库开发者和管理员深入学习Transact-SQL(T-SQL)的基础教程。T-SQL是Microsoft SQL Server中的主要查询语言,用于数据查询、更新、插入和删除,以及复杂的数据库编程。这本书针对的是...

    Core-Java-1.-Volume-I---Fundamentals.rar_Fundamentals

    Volume I - Fundamentals》是Java编程领域的经典教材,尤其对于初学者而言,它提供了全面且深入的Java基础知识。本教材结合了C++的概念,帮助读者更好地理解和掌握Java语言的核心特性。 首先,书中详细阐述了Java...

    linux-shell-scripting-fundamentals-bash.epub

    linux-shell-scripting-fundamentals-bash.epub

    外文翻译-android application fundamentals.docx

    Android 应用程序基础知识 Android 应用程序是用Java编程语言编写的。开发者使用Android SDK工具将代码(包括任何数据和资源文件)编译成一个Android包,这是一个以.apk为后缀的归档文件。所有包含在一个.apk文件中...

Global site tag (gtag.js) - Google Analytics