Semester : SEMESTER 6
Subject : Object Oriented Programming
Year : 2018
Term : MARCH
Scheme : 2015 Full Time
Course Code : EC 312
Page:17
3. 7
The core building blocks or fundamental components of android are activities,
views, intents, services, content providers, fragments and AndroidManifest.xml.
An activity is a class that represents a single screen. It is like a Frame in AWT.
A view is the UI element such as button, label, text field etc. Anything that you see is a
2೩... class Programmer extends Employee{
5. int bonus= 10000;
6 public static void main(String args[]){
7 Programmer p=new Programmer();
8. System.out.printIn("Programmer salary is:"+p.salary);
9 System.out.printIn("Bonus of Programmer is:"+p.bonus);
Android Core Building Blocks
©
©
An android component is simply a piece of code that has a well defined life cycle e.g. Activity,
Receiver, Service etc.
Activity