Android

Android Interview Questions Answer
Author : Ishtek

Setup Eclipse with Android ADT Plugin for test/code environment (by using Android API Level 7 and Emulator).
P.S- Above page is having around 14 images, download size could be around 700KB.

This Page and/or example code is using Android API Level 7 and tested using corresponding Emulator only.
For latest information please refer Android Official website.

Author: Ishtek Date: 25-March-2014 Disclaimer: While this page Author strive to ensure 100% accuracy with content, this page Author and/or this web site can not be held responsible for any damages caused by the information presented in this page. We request all readers to report any incorrect/wrong question and/or answer, by sending an email to: reaching @ techiecommunity.net . Appropriate action will be taken after thorough reviews. Interview Questions with Answer, on Android Platform. Android Interview Question 1 : What is the difference in usage of R class from android.R and application specific generated R class ? Android Interview Answer 1 : android.R is the class providing native android resource classes, whereas application specific generated R class provides resources specific to the application only. --------------------------------------------------------------------------------------- Android Interview Question 2 : What are the different categories/types of Android applications one would mostly come across ? Android Interview Answer 2 : Mostly there can be four different categories of application found on Android Platform, such as foreground applications, background applications, intermittent applications and widget-based applications. --------------------------------------------------------------------------------------- Android Interview Question 3 : What are the various development tools provided by Android Platform ? Android Interview Answer 3 : Android Development Tools or in short ADT is a plug-in that can be used with appropriate version of Eclipse IDE. ADT plug-in incorporates various features such as Android SDK packages, Virtual Device Manager, Emulator, Dalvik Debug Monitoring Service (DDMS), Android Asset Packaging Tool (AAPT), Android Debug Bridge (ADB) and many other additional tools such as SQLite3, Dx, MkSDCard, Traceview etc. --------------------------------------------------------------------------------------- Android Interview Question 4 : What are the various layers of Android Software Stack / Android's Architecture ? Android Interview Answer 4 : Starting with Operating system, Android's Architecture layers includes, 1) A Linux Kernel with various native drivers. 2) On top of it third-party/custom libraries and Android runtime with Dalvik Virtual machine and core libraries. 3) Next top layer is the Android Application Frameworks layer. 4) Finally or top most layer is the Android Applications and Developer's created applications. --------------------------------------------------------------------------------------- Android Interview Question 5 : What are the major components those can be treated as basic building blocks for any Android Application to use ? Android Interview Answer 5 : Any Application to be developed on Android Platform should be using various components such as Activities, background services, content providers, Intents, broadcast receivers, widgets and notifications etc., so these components can be treated as basic building blocks of Android application. --------------------------------------------------------------------------------------- Android Interview Question 6 : What is the primary responsibility of Android's Activity Manager ? Android Interview Answer 6 : Android's Activity Manager controls life cycle of Activities and manages Activity stack level requirements. --------------------------------------------------------------------------------------- Android Interview Question 7 : How do you test an Application for Android Platform? Android Interview Answer 7 : For testing an application, Android ADT plug-in facilitates creation of a test application capable of running on Android Platform along with the actual application to be tested. This test application can be run from Eclipse with ADT plug-in or from command line. This test application uses testing API from Android SDK packages. Testing API from Android SDK uses API from JUnit, such as TestCase classes. --------------------------------------------------------------------------------------- Android Interview Question 8 : What are the major classes from Testing API of Android SDK packages, can be used for testing any Application on Android Platform ? Android Interview Answer 8 : Various classes from Testing API can be categorized in four different types such as JUnit Test case classes, Instrumentation Test case classes, Assert classes, Mock Object classes. --------------------------------------------------------------------------------------- Question on Intents : How can you code an activity to receive intents those are sent by Broadcasting from other activity class? Answer One can code to register an Activity for receiving specific intents either by programattically, using registerReceiver method or by defining receiver tag in the manifest file of the application. --------------------------------------------------------------------------------------- Question on Intents : What are the various information used for resolution of an Intent ? Answer : There are three pieces of information such as Action, Category and Data can be used for appropriate resolution of an intent. --------------------------------------------------------------------------------------- Question on Intents : What is an action from Intents perspective? Answer : Actions as defined by an intent is used to start an activity, like for example ACTION_MAIN can used by an application for declaring an activity as main that is to be started when the application starts. --------------------------------------------------------------------------------------- Question on Intent : What are the difference in usage of ACTION_CHOOSER from the standard activity picker used by Android system when an activity is started with multiple possible matches? Answer : One difference would be defining an customized title in case of ACTION_CHOOSER action of an intent, and another difference would be while using ACTION_CHOOSER, preferred activity even if selected will have no effect and all possible matching activities will be displayed even if a preferred activity is already selected. ---------------------------------------------------------------------------------------
If interested in commenting related to Android Interview Questions Answer
Click Here

Name (To be shown on this Page:*

Email (Not to be shown):*

Website (To be shown on this Page)

Your Comments here (To be shown on this Page):*

(You can use <a> Tag in your comments)

Please enter same number as shown here 739

Name: deepaDated: 2014-05-06 12:11:07
nice ..provide as many questions if possible    
Reply
Click Here

Name (To be shown on Page):*

Email (Optional): (never shown)

Website (To be shown on this Page)

Your Comments here (To be shown on Page):*

Please enter same number as shown here 868




Android Thread Example

REST Interview Questions

JAX-WS Webservice Example

Android Overlap SurfaceView Example

Spring3 Integration of File Endpoint

JAXWS Webservice Example

Android WebView Example

Android Context Menu Example

Setting up Eclipse for Android App Development

Android SensorEvent Orientation Example

Android ImageSwitcher Example

REST API Design for Android App

Android ExpandableListView Example

Singleton Serializable on Android

Android GPS with Google MAP Example

Android Project With Example

Android Project Manageing Files

Project Ideas for App on Android Platform

Android EditText with Background

Android SQLite Database Example

Android AutoCompleteTextView Example

Android Tester

Android Interview Questions

Android ListView Example

Android Intent Notification Example

Android Intent Broadcast Example

Android TextView Link Example

Android Sensor List

Android Sensor Orientation Example

Android Intent Broadcast Receiver

Android Gallery SurfaceViews Example

Android Location Example

Android Text to Speech Example

Android Intent Example

Android Layout Example

Android Download File Example

Android Expandable ListView Example

Android Tab Example

Android RelativeLayout Example

Android Intent Example

Android Text to Speech Example

Android SQLite Example

Android CustomView Example

Android Canvas Example

Android SharedPreferences Example

Android Shape Background Example

Android ShapeButton Example

Android ViewFlipper Example

Android Gallery Example

Android TimePickerDialog Example





If interested commenting on this Page :

comments powered by Disqus
Any source code found on any of the page(s) in Techiecommunity.net is associated with following notice: 
   /*
     * TECHIECOMMUNITY.NET MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
     * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
     * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
     * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. TECHIECOMMUNITY.NET SHALL NOT BE LIABLE FOR
     * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
     * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
     *
     * THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE
     * CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE
     * PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT
     * NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE
     * SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE
     * SOFTWARE COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE
     * PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH RISK ACTIVITIES"). TECHIECOMMUNITY.NET
     * SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR
     * HIGH RISK ACTIVITIES.
     */
   
The content provided in this page is NOT warranted and/or NOT guaranteed by techiecommunity.net .
techiecommunity.net is not liable for any negative consequences that may result/arise from 
implementing directly/indirectly any information covered in these pages/articles/tutorials.

For any of the content, if you would like to bring it to notice for removal from this web site, 
please write to this web site administrator @ EMAIL-ID (please remove space before and after @),
with appropriate concern and supporting proof(s). After thorough review and if found genuine concern,
we would take appropriate action and remove disputed content from this web site within 24 hours 
starting from the time it has brought to techiecommunity.net Administrator notice.

This website uses cookies and third party cookies to improve the user experience. 
And to provide more relevant ads. 
In case of continued use of this website implies that you accept the use of cookies on this website.
		
While using this web site, you agree to have read and accepted techiecommunity.net terms of use and privacy policy.