COMPONENTS OF ANDROID
1 min readSep 2, 2020
THERE ARE IN ALL FOUR COMPONENTS OF ANDROID. THEY ARE
- ACTIVITIES : AN ACTIVITY REPRESENTS A SINGLE SCREEN WITH USER INTERFACE JUST LIKE WINDOW OR FRAME.
- SERVICES : A SERVICE IS A COMPONENT THAT RUNS IN BACKGROUND. TO PERFORM LONG RUNNING OPERATIONS WITHOUT NEEDING TO INTERACT WITH THE USERS AND IT WORKS EVEN IF APPLICATION IS DESTROYED.
- BROADCAST RECEIVERS : BROADCAST RECEIVERS SIMPLY RESPOND TO BROADCAST MESSAGES FROM OTHER APPLICATIONS OR FROM SYSTEM ITSELF. THESE MESSEGES ARE SOMETIMES CALLED EVENTS OR INTENTS.
- CONTENT PROVIDERS : CONTENT PROVIDERS SUPPLY DATA FROM ONE APPLICATIONS TO OTHERS ON REQUEST. A CONTENT PROVIDERS CAN USE DIFFRENT WAYS TO STORE ITS DATA AND DATA CAN BE STORED IN DATABASE, FILES AND ON NETWORK ETC.
THANKING YOU FOR READING THIS. HOPE YOU HAD A KNOWLEDGEABLE EXPERIENCE WITH THIS TOPIC