官术网_书友最值得收藏!

Chapter 2. Application Building Blocks

This chapter focuses on the building blocks of an Android application, namely, the application components and the inter-component communication. There are four types of components in the Android system: Activities, Services, Broadcast Receivers, and Content Providers. Each component is specially designed to accomplish a specific task. A collection of these components makes an Android application. These components talk to each other using Intents which is Android's mechanism for inter-process communication.

There are several books that discuss how to build Android components and Intents. In fact, the Android developer website does a pretty good job introducing programming using these components as well. So in this chapter, instead of covering the implementation details, our objective is to discuss the security aspects of each component and how to define and use component and Intents securely in an application to protect our reputation as a developer and the privacy of our consumers.

Components and Intents are the focus of this chapter. For each Android component, we will cover component declaration, permissions associated with the component, and other security considerations specific to that particular component. We will discuss different types of Intents and the best Intent to use in a particular context.

主站蜘蛛池模板: 桐乡市| 浠水县| 铁岭市| 宜兴市| 日土县| 神农架林区| 湘乡市| 朔州市| 合江县| 收藏| 海阳市| 桐梓县| 内丘县| 瑞金市| 台江县| 共和县| 大名县| 广德县| 陆川县| 咸阳市| 富川| 白银市| 蓬莱市| 商水县| 泰安市| 汝州市| 博兴县| 德化县| 勃利县| 尼玛县| 定日县| 陆河县| 万载县| 永吉县| 塔城市| 随州市| 离岛区| 罗江县| 阿拉善左旗| 胶南市| 临洮县|