Module 1
Module 1
2. APPLE IOS
iOS (formerly iPhone OS) is a mobile operating system developed
by Apple exclusively for its mobile devices.
It was unveiled in January 2007 for the first-generation iPhone, which
launched in June 2007.
Major versions of iOS are released annually; the current stable version, iOS
18, was released to the public on September 16, 2024.
It is the operating system that powers many of the company's mobile devices,
including the iPhone, and is the basis for three other operating systems made
by Apple: iPadOS, tvOS, and watch OS iOS formerly also powered iPads until
iPadOS was introduced in 2019, and the iPod Touch line of devices until its
discontinuation.
iOS is the world's second most widely installed mobile operating system,
after Android. As of December 2023, Apple's App Store contains more than
3.8 million iOS mobile apps.
FEATURES
1. INTERFACE
The iOS user interface is based upon direct manipulation, using multi-
touch gestures such as swipe, tap, pinch, and reverse pinch.
Interface control elements include sliders, switches, and buttons.
Internal accelerometers are used by some applications to respond to shaking the
device (one common result is the undo command) or rotating it in three
dimensions (one common result is switching between portrait and landscape.
mode).
Various accessibility described in § Accessibility functions enable users with
vision and hearing disabilities to properly use iOS.
2. HOME SCREEN
The home screen, rendered by Spring Board, displays application icons and a
dock at the bottom where users can pin their most frequently used apps.
iOS home screens are typically made up of app icons and widgets; app icons
launch the associated app, whereas widgets display live, auto-updating content,
such as a weather forecast, the user's email inbox, or a news ticker directly on the
home screen.
iOS enforces strict sandboxing to maintain security and privacy. Apps are
generally limited to accessing their own containers and specific system-provided
directories, such as the Photos library.
To access files outside of their sandbox, iOS uses mechanisms like document
pickers, file providers, and app extensions.
iOS 8 introduced the Document Picker and Document Provider extensions as part
of the document interaction controller.
This allows apps to open, save, and interact with documents stored in a central
location or cloud storage services
5. MULTITASKING
Multitasking for iOS was first released in June 2010 along with the release of iOS
4. Only certain devices—iPhone 4, iPhone 3GS, and iPod Touch 3rd generation—
were able to multitask. The iPad did not get multitasking until iOS 4.2.1 in that
November.
The implementation of multitasking in iOS has been criticized for its approach,
which limits the work that applications in the background can perform to a limited
function set and requires application developers to add explicit support for it.
1. Newsstand – application can download content in the background to be ready for the
user
2. External Accessory – application communicates with an external accessory and shares
data at regular intervals
3. Bluetooth Accessory – application communicates with a Bluetooth accessory and
shares data at regular intervals
In iOS 7, Apple introduced a new multitasking feature, providing all apps with the
ability to perform background updates. This feature prefers to update the user's most
frequently used apps and prefers to use Wi-Fi networks over a cellular network,
without markedly reducing the device's battery life.
6. SIRI
Fig 1- iPhone
Google developed an operating system for mobiles. They called it Android. The Android
operating system is primarily designed for smartphone devices which implement a touch
screen input interface.
This means that it was designed for systems with little memory and a processor that isn't as
fast as desktop processors. While keeping the limitations in mind, Google's vision for
Android is that it would have a robust set of programming APIs and a very responsive UI. In
order to facilitate this vision, they created an abstraction layer, which allows application
developers to be hardware agnostic in their design.
HISTORY
❏ Unveiled in 2007
❏ Android 1. 0, 2008
Internal Version
Name API level Release date
codename number(s)
September 23,
Android 1.0 — 1.0 1
2008
February 9,
Android 1.1 Petit Four 1.1 2
2009
Android Cupcake Cupcake 1.5 3 April 27, 2009
September 15,
Android Donut Donut 1.6 4
2009
October 27,
2.0 5
2009
Download the software by saving the following files to your desktop (or any other location).
This software has been especially packaged for this class; general users should download the
original versions). Even if you already have a version of Eclipse, please install this: it won't
interfere with any other version(s) you might have.
Install Eclipse
This will create a shortcut on your desktop from which to start Eclipse (soon).
1. Start Eclipse using the shortcut created previously. When prompted for a workspace,
enter c:\android\workspace
2. , then select Help > Install New Softare.
3. In the Available Software dialog, click Add....
4. In the Add Site dialog that appears, enter a name for the remote site (for example,
"Android Plugin") in the "Name" field. In the "Location" field, enter the following
URL, the click OK:
http://dl-ssl.google.com/android/eclipse/
5. Back in the Available Software view, you should now see "Developer Tools" added to
the list. Select the checkbox next to Developer Tools, which will automatically select
the nested tools Android DDMS and Android Development Tools. Click Next.
6. In the resulting Install Details dialog, the Android DDMS and Android Development
Tools features are listed. Click Next to read and accept the license agreement and
install any dependencies, then click Finish.
7. Restart Eclipse.
A hardware profile that defines the device's hardware features, such as the camera,
keyboard, and memory
A mapping to a system image that defines the version of the Android platform that
will run on the device
An emulator skin that controls the screen dimensions and appearance
An emulated SD card
Private storage for user data, such as installed applications and settings
CREATION OF AVD
1. Creating an Android Virtual Device (AVD)
An Android Virtual Device (AVD) is an emulator that simulates a physical Android device
on your computer. It allows you to test Android apps without needing a physical device.
Here’s a simple "Hello World" Android app to test your AVD or physical device.
Note that you should create new AVD's for each of your available targets so that you can test
your program, eventually, against different versions of Android. Settle on a naming
convention that you'll remember, such as avd1.5_sd for Android version 1.5 with simulated
SD card, avd1.5_sd_g for Android 1.5 + SD card + Google API, etc.
Eclipse Features:
-Plugin-Based Architecture: Eclipse relies on plugins to add functionality. The Android
Development Tools (ADT) plugin integrates Android development features into Eclipse.
- Code Assistance: Eclipse provides code completion, syntax highlighting, and quick fixes
but is somewhat limited compared to Android Studio.
- Less Integrated Environment: Eclipse does not provide the same level of integration as
Android Studio, especially in terms of project structure, Gradle, and performance
optimization.
- Debugging and Profiling: Basic debugging tools are available, but advanced features like
GPU profiling, APK size analyzer, and memory profiler are limited.
- Layout Editor: Eclipse has a basic layout editor but lacks many of the advanced visual tools
available in Android Studio.
- Compatibility: Eclipse can be used for cross-platform development (Java, C++, etc.), but
Android Studio is tailored specifically for Android development.