TOPS Technologies- Android training http://www.tops-int.com/android-training.html
09/30/13
TOPS Technologies- Android training - http://www.topsint.com/android-training.html
09/30/13
ANDROID INTERVIEW QUESTION AND ANSWER LATEST FOR FRESHER
ANDROID INTERVIEW QUESTION AND ANSWER LATEST FOR FRESHER TOPS Technologies- Android training http://www.tops-int.com/android-training.html
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.
09/30/13
•
QUESTION AND ANSWER
• • •
<service> <receiver> <provider>
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
•
1)How do you declare 4 components of android in mainfestfile? A) <activity>
09/30/13
•
QUESTION AND ANSWER •
• • • • •
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
•
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
09/30/13
•
QUESTION AND ANSWER •
• • • •
5)Types of notification in android? Tost notification Status bar notification Dialog notification
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
•
4)User interface types? Views Notifications
09/30/13
•
QUESTION AND ANSWER
• •
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.
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
•
6)How do you find any view element into your program? Findviewbyid
09/30/13
•
QUESTION AND ANSWER
â&#x20AC;˘
9)What is an action? The Intent Sender desires something or doing some task
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
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.
09/30/13
â&#x20AC;˘
QUESTION AND ANSWER
â&#x20AC;˘
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).
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
10)What is activity? A single screen in an application, with supporting Java code.
09/30/13
â&#x20AC;˘
QUESTION AND ANSWER
â&#x20AC;˘
13)Example for sticky broadcast When 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.
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
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).
09/30/13
â&#x20AC;˘
QUESTION AND ANSWER
â&#x20AC;˘
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.
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
14)How the nine-patch Image different from a regular bitmap? or Different between nine-patch Image vs regular Bitmap Image It 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.
09/30/13
â&#x20AC;˘
QUESTION AND ANSWER
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
•
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.
09/30/13
•
QUESTION AND ANSWER
â&#x20AC;˘
19)Does Android support the Bluetooth serial port profile? A. Yes.
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
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.
09/30/13
â&#x20AC;˘
QUESTION AND ANSWER
•
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
•
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 android The 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.
09/30/13
•
ď&#x201A;˘
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.
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
23)What is an action? A description of something that an Intent sender desires.
09/30/13
ď&#x201A;˘
BIO •
•
•
TOPS Technologies- Android training http://www.tops-int.com/android-training.html
•
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
09/30/13
•
09/30/13
TOPS Technologies- Android training http://www.tops-int.com/android-training.html