Posts

Showing posts from August, 2017

App-component

Application components are the necessary building blocks of an Android application. These components are shown by the application manifest file  AndroidManifest.xml  that describes each component of the application and how they interact. There are following  main components that can be used in an Android app: Activity An activity is a class that represents 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. Intent Intent is used to invoke components. It is mainly used to: Start the service,Launch an activity,Display a web page,Display a list of contacts,Broadcast a message,Dial a phone call etc. Service Service is a background process that can run for a long time. There are two types of services local and remote. Local service is accessed from within the application whereas remote service is accessed remotely from other applications running on the same device. Co...