<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: codeblogs</title>
    <description>The latest articles on DEV Community by codeblogs (@codeblogs).</description>
    <link>https://dev.to/codeblogs</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F516545%2Fd8126dfa-10ed-48e4-8c27-a7a18aec1528.png</url>
      <title>DEV Community: codeblogs</title>
      <link>https://dev.to/codeblogs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codeblogs"/>
    <language>en</language>
    <item>
      <title>Android development Core questions</title>
      <dc:creator>codeblogs</dc:creator>
      <pubDate>Fri, 24 Sep 2021 10:23:21 +0000</pubDate>
      <link>https://dev.to/codeblogs/android-development-core-questions-13a6</link>
      <guid>https://dev.to/codeblogs/android-development-core-questions-13a6</guid>
      <description>&lt;h1&gt;
  
  
  What are android applications components ? :-
&lt;/h1&gt;

&lt;p&gt;All android app components are the essential blocks, and all these components are loosely coupled by Manifest (AndroidManifest.xml) file. these entry point may be system or a user can enter our app. Here is four types of android application components as shown in bellow&lt;/p&gt;

&lt;h1&gt;
  
  
  Types of Components :-
&lt;/h1&gt;

&lt;p&gt;1) Activities&lt;br&gt;
2) Services&lt;br&gt;
3) Broadcast receivers&lt;br&gt;
4) Components Providers&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;a href="https://developer.android.com/reference/android/app/Activity"&gt;Activities :-&lt;/a&gt;
&lt;/h1&gt;

&lt;p&gt;An activities nothing just a screen it provides the window in which the app draws ui’s and this is the entry point of the interacting with the users. An activity presents a single screen with a user interface for example whatsapp app might have one activity that show the users list on screen and another activity where we chat personal or group chat.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;a href="https://developer.android.com/reference/android/app/Service"&gt;Services&lt;/a&gt;
&lt;/h1&gt;

&lt;p&gt;In android Services are specialy component that facilitates to run in the background in order to perform long running operations tasks. The main purpose of a service is to ensure that the application remains active in the background so that the user can operate multiple applications at the same time.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;a href="https://developer.android.com/reference/android/content/BroadcastReceiver"&gt;Broadcast receivers&lt;/a&gt;
&lt;/h1&gt;

&lt;p&gt;A broadcast receivers in android act as background functionalities as services and it will pass the data between activities. A broadcast receiver is an android component that allows an application to respond the message and that are broadcast by the android operating system or an android application.&lt;/p&gt;

&lt;h1&gt;
  
  
  Components Providers
&lt;/h1&gt;

&lt;p&gt;Acomponent providers in android can help an application manage access to data store by itself, store by other apps, and provide a way to share data with other apps and they encapsulate data, provide data mechanism to defining data security. Content provider in android manage access to a central repository of data and this component provider is a part of an android application. content providers are two types :-&lt;br&gt;
A) Directory&lt;br&gt;
B) id based URIs&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;a href="https://codewith-fun.medium.com/android-core-interview-questions-part-1-b5d356056432"&gt;Read my articles on medium&lt;/a&gt;
&lt;/h1&gt;

</description>
      <category>android</category>
      <category>kotlin</category>
      <category>java</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
