Android and iOS
Android and iOS
Android and
IOS
1
Introduction to Android and Its
Google Connection
What is Android?
● A mobile operating system built on the Linux kernel, designed for smartphones, tablets, and diverse devices.
● Primarily written in Java, with low-level components in C/C++, offering a robust and open-source platform.
Key Features
● Uses Linux features (processes, user IDs, virtual memory) in unique ways for mobile needs.
● Open-source via the Android Open Source Project (AOSP), customizable for manufacturers.
2
History and Early Development of
Android
Origins
● Started by Android, Inc. in the mid-2000s to create smarter mobile devices, initially targeting cameras before
shifting to smartphones.
● Acquired by Google in July 2005, gaining resources to build a complete platform.
Early Development
● Initially supported multiple languages (JavaScript, Java, C++), but pivoted to focus solely on Java in 2006 for
quality and efficiency.
● Developed alongside Google apps (e.g., Maps, Gmail), refining the platform iteratively.
First Release
● Preview SDK released in November 2007, followed by Android 1.0 on the T-Mobile G1 (Dream device) in
September 2008.
● Targeted two devices: "Sooner" (dropped) and "Dream" (touchscreen, 3G, GPS-enabled).
Growth
● Evolved rapidly with 15 major updates by 2013, expanding to tablets, TVs, and more, driven by open-source
adoption. 3
Android Architecture
Linux Kernel
4
Android Architecture
Android Runtime (ART)
Framework
Applications
● Each app runs as a unique Linux UID, isolating it in its own file
system sandbox.
Permissions
Binder Integration
Dynamic Access
7
Introduction & History of IOS
Introduction to iOS
● iOS is Apple’s mobile operating system, powering iPhones, iPads, and iPod Touch devices.
● Known for its sleek design, user-friendly interface, and tight integration with Apple’s ecosystem (e.g., iCloud, App
Store).
● Emphasizes security, privacy, and a seamless experience across hardware and software.
History of iOS
● Launched on June 29, 2007, with the first iPhone, originally called "iPhone OS."
● Renamed to iOS in 2010 with the release of iPhone OS 4, expanding to iPad.
● Key milestones: App Store (2008), Siri (2011), iOS 7 redesign (2013), and regular annual updates.
● Evolved from a basic touch OS to a robust platform with advanced features like ARKit and Face ID.
8
IOS Architecture
User experience layer:
● This layer defines the software interface that allows users to interact with the computing devices.
● macOS uses the Aqua user interface, which is designed for a mouse or trackpad, whereas iOS uses the
Springboard user interface, which is designed for touch devices.
● This layer includes the Cocoa and Cocoa Touch frameworks, which provide an API for the Objective-C and Swift
programming languages.
● The primary difference between Cocoa and Cocoa Touch is that the former is used for developing macOS
applications, and the latter by iOS to provide support for hardware features unique to mobile devices, such as
touch screens.
Core frameworks:
● This layer defines frameworks that support graphics and media including, Quicktime and OpenGL.
Kernel environment:
● This environment, also known as Darwin, includes the Mach microkernel and the BSD UNIX kernel.
9
10
Darwin
Hybrid Structure
● Combines Mach microkernel (tasks, threads, IPC) with BSD UNIX kernel (POSIX compatibility).
Key Components
● Mach, BSD, and I/O Kit run together, boosting performance over pure microkernels.
11
Security
Built-in Encryption
● All data on iOS devices is encrypted by default using AES-256, protecting user information even if the
device is lost or stolen.
● Ensures only trusted software from Apple runs on the device, preventing unauthorized modifications.
● Apps undergo strict review to block malware, ensuring a safe ecosystem for users.
● Biometric authentication secures access, with data stored locally in a Secure Enclave, not on servers.
12