android interview question and answer latest for fresher

17
0 6 / 0 7 / 2 2 TOPS Technologies- Android training - http://www.tops-int.com/android- training.html

Upload: neil-modi

Post on 20-Jan-2015

8.879 views

Category:

Technology


1 download

DESCRIPTION

One of the basic things taught at an Android training class would be the creation of an Android project. And an extra activity how to clear Android interviews By TOPS Technologies. http://www.tops-int.com

TRANSCRIPT

Page 1: Android Interview Question And Answer Latest For fresher

04

/10

/23TOPS Technologies- Android training - http://www.tops-int.com/android-training.html

Page 2: Android Interview Question And Answer Latest For fresher

TOPS Technologies- Android training - http://www.tops-int.com/android-training.html

ANDROID INTERVIEW QUESTION AND ANSWER LATEST FOR FRESHER 0

4/1

0/2

3

Page 3: Android Interview Question And Answer Latest For fresher

ANDROID INTERVIEW QUESTION AND ANSWER LATEST FOR FRESHER• Android interview questions and answers for freshers

and experienced candidates. Also find Android online practice tests to fight written tests and certification exams on Android. In this section we have covered almost all Android questions that might be asked during an interview. 

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 4: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 1)How do you declare 4 components of android in mainfestfile?

• A) <activity>• <service>• <receiver>• <provider>

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 5: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 2)What are intent filters?• Intents filter are used to register activity, services,

broadcast receiver as being capable of performing an action on a particular kind of action.

• 3)How many ways data stored in android?• Shared preferences• Internal storage• External storage• Sqlite database• Network connetion

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 6: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 4)User interface types?• Views• Notifications

• 5)Types of notification in android?• Tost notification• Status bar notification• Dialog notification

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 7: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 6)How do you find any view element into your program?

• Findviewbyid

• 7)What is handler class do in android?• Handler allows yo to send and process message

and runnable objects associated with a thread’s message queue.

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 8: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 8)Describe the APK format. The APK file is compressed the AndroidManifest.xml file, application code (.dex files), resource files, and other files. A project is compiled into a single .apk file.

• 9)What is an action?The Intent Sender desires something or doing some task

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 9: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 10)What is activity?A single screen in an application, with supporting Java code.

• 11)What is intent in Android?A class (Intent) will describes what a caller desires to do. The caller will send this intent to Android's intent resolver, which finds the most suitable activity for the intent. E.g. opening a PDF document is an intent, and the Adobe Reader apps will be the perfect activity for that intent(class).

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 10: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 12)What is a Sticky Intent?sendStickyBroadcast() performs a sendBroadcast (Intent) known as sticky, i.e. the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of registerReceiver (BroadcastReceiver, IntentFilter). In all other ways, this behaves the same as sendBroadcast(Intent).

• 13)Example for sticky broadcastWhen you call registerReceiver() for that action -- even with a null BroadcastReceiver -- you get the Intent that was last broadcast for that action. Hence, you can use this to find the state of the battery without necessarily registering for all future state changes in the battery.

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 11: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 14)How the nine-patch Image different from a regular bitmap? or Different between nine-patch Image vs regular Bitmap ImageIt is one of a resizable bitmap resource which is being used as backgrounds or other images on the device. The NinePatch class allows drawing a bitmap in nine sections. The four corners are unscaled; the middle of the image is scaled in both axes, the four edges are scaled into one axis.

• 15)What Programming languages does Android support for application development?Android applications supports using Java Programming Language. which is coded in Java and complied using Android SDK.

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 12: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 16)What is a resource?A user defined JSON, XML, bitmap, or other file, injected into the application build process, which can later be loaded from code.

• 17)How will you record a phone call in Android? or How to handle on Audio Stream for a call in Android?Permissions.PROCESS_OUTGOING_CALLS: Will Allows an application to monitor, modify, or abort outgoing calls. So through that we can monitor the Phone calls.

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 13: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 18)What's the difference between class, file and activity in android?Class - The Class file is complied from .java file. Android will use this .class file to produce the executable apk.File - It is a block of resources, srbitrary information. It can be any file type.Activity - An activity is the equivalent of a Frame/Window in GUI toolkits. It is not a file or a file type it is just a class that can be extended in Android for loading UI elements on view.

• 19)Does Android support the Bluetooth serial port profile?A. Yes.

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 14: Android Interview Question And Answer Latest For fresher

QUESTION AND ANSWER

• 20)Can an application be started on powerup?A. Yes.

• 21)What is APK format.The APK file is compressed AndroidManifest.xml file with extension .apk, Which have application code (.dex files), resource files, and other files which is compressed into single .apk file.

• 22)How to Translate in androidThe Google translator translates the data of one language into another language by using XMPP to transmit data. You can type the message in English and select the language which is understood by the citizens of the country in order to reach the message to the citizens.

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 15: Android Interview Question And Answer Latest For fresher

23)What is an action?A description of something that an Intent sender desires.

24)What are the advantages of Android?The following are the advantages of Android:

* The customer will be benefited from wide range of mobile applications to choose, since the monopoly of wireless carriers like Orange and AT&T will be broken by Google Android.* Features like weather details, live RSS feeds, opening screen, icon on the opening screen can be customized* Innovative products like the location-aware services, location of a nearby convenience store etc., are some of the additive facilities in Android. 

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 16: Android Interview Question And Answer Latest For fresher

BIO

• http://www.tops-int.com• http://www.tops-int.com/android-training.html•  Please visit our website at: http://www.tops-int.com•  Contact numbers for our national and international

working institutes:•  Mehsana 7600009613 Baroda 97253 55009 Rajkot 97240

04242 Navsari 9601793193 Surat 97240 33344 Junagadh 73593 91159 Indore 98260 29469 Bhopal 74899 23056 Jabalpur 9039707077 (10) Noida 9818110099 Kota 8233022331 Jaipur 96491 12343 Nagpur 95950 31103 Dehradun 97608 82882

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l

Page 17: Android Interview Question And Answer Latest For fresher

04

/10

/23

TO

PS

Te

chn

olo

gie

s- An

dro

id tra

inin

g -

http

://ww

w.to

ps-in

t.com

/an

dro

id-

train

ing

.htm

l