2. Installation and Configuration of Android (6 marks)
2. Installation and Configuration of Android (6 marks)
Functions of OS
1. Process Management
1
2. Memory management
3. File management
4. Device management
5. Protection and security
6. User interface
7. Booting the computer
8. Resource management
9. Program execution
10. I/O operations
11. Communications
12. Error Detection
Types of OS
1. Batch OS
2. Multi-programmed OS
3. Time shared OS
4. Multiprocessor OS
5. Mainframe OS
6. Distributed OS
7. Real time OS
8. Mobile OS
9. Android OS
10. iOS
11. Network OS
Java JDK
JDK stands for Java Development Kit.
The JDK is a software development environment for developing Java
applications and applets.
2
The JDK is a software package that contains a variety of tools and utilities
that make it possible to develop package, monitor and deploy applications
that build for any standard Java platform, including Java Platform, Standard
Edition (Java SE); Java Platform, Micro Edition (Java ME); and Java Platform,
Enterprise Edition (Java EE).
The JDK contains a private Java Virtual Machine (JVM) and a few other
resources such as an interpreter/loader (java), a compiler (javac), an archive
(jar), a documentation generator (Javadoc), etc. to complete the
development of a java application.
It physically exists.
It contains JRE + development tools.
Components of JDK
1. Java Compiler (javac):
Converts Java source code (.java files) into bytecode (.class files)
that can be executed by the Java Virtual Machine (JVM).
4. Development Tools:
A vast set of pre-written libraries and APIs that developers can use
to build applications.
Packs class files and associated metadata into a single JAR (Java
Archive) file for distribution.
4
i) Required Libraries
ii) Debugger
iii)An emulator
iv)Relevant documentation for android application program interface
(APIs).
v) Sample source code
vi)Tutorial for the Android OS.
Applications are written using java programming language and run on
Dalvik, a custom virtual machine designed for embedded use which runs on
top of a Linux kernel.
5
Emulators
An emulator is a software program that mimics the functionality of another
hardware or software system.
The emulator provides almost all of the capabilities of a real Android device.
You can simulate incoming phone calls and text messages, specify the
6
location of the device, simulate different network speeds, simulate rotation
and other hardware sensors, access the Google play store and much more.
Testing your app on the emulator is in some ways faster and easier than
doing so on a physical device.
For example, you can transfer data faster to the emulator than to a device
connected over USB.
v) Loads code
vi)Verifies code
vii) Executes code
7
viii) Provides runtime environment
8
Steps to Install and Configure Android Studio and
SDK
Step 1: System Requirements
Step 2: Setup Android Studio
Step 3: Create Android Virtual Device