Team Leader Android Developer Interview Preparation Guide
Download PDF

Team Leader Android Developer related Frequently Asked Questions by expert members with professional career as Team Leader Android Developer. These list of interview questions and answers will help you strengthen your technical skills, prepare for the new job interview and quickly revise your concepts

67 Team Leader Android Developer Questions and Answers:

1 :: Tell us where will you declare your activity so the system can access it?

Activity is to be declared in the manifest file. For example:

☛ <manifest></manifest>
☛ <application></application>
☛ <activity android:name=”.MyIntellipaat”>

2 :: Tell me where can you define the icon for your Activity?

The icon for an Activity is defined in the manifest file.

Code
<activity android:icon="@drawable/app_icon" android:name=".MyTestActivity"></activity>
which means you have to Open AndroidManifest.xml.Right under the root “manifest” node of the XML, we can see the “application” node. We have added this attribute to “application”. (The “icon” in “@drawable/icon” refers to the file name of the icon.)
android:icon=”@drawable/icon”

3 :: Tell us how do you find any view element into your program?

Findviewbyid : Finds a view that was identified by the id attribute from the XML processed inActivity.OnCreate(Bundle).

Syntax

[Android.Runtime.Register("findViewById", "(I)Landroid/view/View;", "GetFindViewById_IHandler")]
public virtual View FindViewById (Int32 id)

4 :: How to perform actions that are provided by other application e.g. sending email?

Intents are created to define an action that we want to perform and launches the appropriate activity from another application.

Code

Intent intent = new Intent(Intent.ACTION_SEND);intent.putExtra(Intent.EXTRA_EMAIL, recipientArray);

startActivity(intent);

5 :: Tell me what is An Intent?

It is connected to either the external world of application or internal world of application, Such as, opening a pdf is an intent and connect to the web browser.etc.

6 :: Tell me what is a service in android?

The Service is like as an activity to do background functionalities without UI interaction.

7 :: Tell us what are the key components in android architecture?

☛ Linux Kernel
☛ Libraries
☛ Android Framework
☛ Android applications.

8 :: Tell me how is the use of web view in Android?

WebView is UI component that can display either remote web-pages or static HTML

9 :: Tell me how do you pass the data to sub-activities android?

Using with Bundle, we can pass the data to sub activities.

Bundle bun = new Bundle();

bun.putString("EMAIL", "contact@tutorials.com");

10 :: Tell me what is drawable folder in android?

A compiled visual resource that can used as a backgrounds,banners, icons,splash screen etc.