Android Notes file:///home/pmcs2year/Downloads/Android%20Notes.
html
License:-
1. Android is open source OS.
2. Two open source license are taregeted for this:
a) Apache
b) Andliner
3. GNU(General Public License version 2) for the linux kernal changes.
4. Source code of android is always available which is free and open to access.
Android arch
Android arch/ so�ware stack is categorised into five parts.
1. Linux kernal
2. Na�ve libraries.
3. Android run�me.
4. Applica�on framework.
5. Applica�on
Linux kernal
1. It is heart of android of android arch that exist at the root of the android arch.
2. Linux kernal is responsible is for memory management, device management, resource
access, and power management.
3. Na�ve languages.
4. In top of the linux kenral there are na�ve libraries such as webkit.
5. OpenGL (Graphics libraries used to 2D/3D graphics.)
1 of 3 09/11/23, 10:48
Android Notes file:///home/pmcs2year/Downloads/Android%20Notes.html
6. SQLite.
7. Free Type (For front support, media, for playing and recording)
8. SSL (Secure Socket layer)
Android run�me
1. Available on the second layer from the bo�om.
2. It provides a key component called DVM (Dalvik Virtual Machine).
3. DVM is a kind of JVM.
4. Op�mized fir android. DVM make use of linux features, which are internal part of
Java language, DVM enables every android applica�on. DVM enables every
applica�on of its process with its own instance of DVM.
Applica�on framework
1. It provides many higher level services to applica�ons in the form of Java classes
2. App developers are allowed to make use of these services in their applica�ons.
3. Key services are:
◦ Ac�vity manager
Controls all aspects of the applica�on lifecycle and applica�on stack.
◦ Content Provider
Allow apps to publish and share with other apps.
◦ Resource manager
◦ No�fica�on manager
◦ View System
◦ Loca�on manager
2 of 3 09/11/23, 10:48
Android Notes file:///home/pmcs2year/Downloads/Android%20Notes.html
Applica�on
1. All the android applica�ons are present at this top most layer of arch.
2. App developers can only develop for this layer, e.g., se�ngs, contacts, browser, etc.
Fundamental of android
1. Ac�vity
2. View
3. Broad cast receiver
4. content provides.
5. framework.
6. Services
Ac�vity
3 of 3 09/11/23, 10:48