Android Core Building Blocks

Android core building blocks

Content Provider: are use to share data between the applications

Fragment:
Fragments are like parts of activity.An activity can display one or more fragments on the screen at the same time.

Service:
Service is a background process that can run for a long time
Service can be local or remote.

Intent:Intent is used to invoke components.It is mainly used to:
Start the service
Launch the activity
Display a webpage
Broadcasst a message, Dial a phone call etc.

Intent intent=new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(“http://www.zakilive.com”));
startActivity(intent);

Activity:
An activity is a class that reprersents a single screen.It is like a frame in AWT.

View:
A view is the UI element such as button,label,text field etc.Anything that you see is a view.

AndroidManifest.xml

It conatins information about activities,content providers,permissions etc.

AVD(Android Virtual Device)

It would be a great help, if you support by sharing :)
Author: zakilive

Leave a Reply

Your email address will not be published. Required fields are marked *