UNIT 1
INTRODUCTION
History of Android.
Android Hardware
Android Software
Android Arch.
Applications
pre-installed applications like home, contacts, camera, gallery etc and third-party applications downloaded from the play store like chat applications, games etc. will be installed on this layer only.
Application framework –
Application runtime –
Platform libraries –
Linux Kernel –
Android Security Model
unnecessary details, we will frame the Android security model as a three-party consent model.
the consent of the following
parties:
Android Permission model
Figure 1. Diagram that shows the high-level workflow for using permissions on Android.
Types of permissions
install-time permissions, runtime permissions, and special permissions. Each permission's type indicates the scope of restricted data that your app can access, and the scope of restricted actions that your app can perform, when the system grants your app that permission.
Install-time permissions
Normal permissions
Runtime permissions
Figure 3. The system permission prompt that appears when your app requests a runtime permission.
Special permissions
Application Sandbox
Sign your app
For more info: https://developer.android.com/studio/publish/app-signing
Encryption
Why is data encryption necessary?
What are some common encryption algorithms?
What are the different types of encryption?
Rooting (Android)
What Are APK Files?
APK Package Contents
XML, and all .png files are optimized (crunched) to save space and improve runtime performance when inflating these files.
directories — one for each supported CPU architecture (ABI).
application metadata — for example, its name, version, permissions, etc.
files (named classes2.dex, etc.) when the application uses multidex.