28 November 2014

Interview Questions & Answers on Android.

1. What is Android?
Android is a stack of software for mobile device which includes an Operating System, middleware and some key applications. The application executes within its own process and its own instance of Dalvik Virtual Machine. Many Virtual Machines run efficiently by a DVM device. DVM executes Java languages byte code which later transforms into .dex format files.
2.  What Is the Google Android SDK?

The Google Android SDK is a toolset that developers need in order to write apps on Android enabled devices. It contains a graphical interface that emulates an Android driven handheld environment, allowing them to test and debug their codes.
2. What are the advantages of Android?
  • It is simple and powerful SDK.
  • Licensing, Distribution or Development fee is not required.
  • Easy to Import third party Java library.
  • Supporting platforms are – Linux, Mac Os, Windows.
  • Innovative products like the location-aware services, location of a nearby convenience store etc., are some of the additive facilities in Android.
  • Components can be reused and replaced by the application framework.
  • Optimized DVM for mobile devices.
  • SQLite enables to store the data in a structured manner.
  • Supports GSM telephone and Bluetooth, WiFi, 3G and EDGE technologies.
  • The development is a combination of a device emulator, debugging tools, memory profiling and plug-in for Eclipse IDE.
- See more at: http://madeinandroid.blogspot.in/2014/11/interview-questions-answers-on-android.html#sthash.YxT1LCiv.dpuf
2. What are the advantages of Android?
  • It is simple and powerful SDK.
  • Licensing, Distribution or Development fee is not required.
  • Easy to Import third party Java library.
  • Supporting platforms are – Linux, Mac Os, Windows.
  • Innovative products like the location-aware services, location of a nearby convenience store etc., are some of the additive facilities in Android.
  • Components can be reused and replaced by the application framework.
  • Optimized DVM for mobile devices.
  • SQLite enables to store the data in a structured manner.
  • Supports GSM telephone and Bluetooth, WiFi, 3G and EDGE technologies.
  • The development is a combination of a device emulator, debugging tools, memory profiling and plug-in for Eclipse IDE.
- See more at: http://madeinandroid.blogspot.in/2014/11/interview-questions-answers-on-android.html#sthash.YxT1LCiv.dpuf
3. What are the different phases of the Activity life cycle?
As an activity transitions from state to state, it is notified of the change by calls to the following protected methods:
1) void onCreate(Bundle savedInstanceState)
2) void onStart()
3) void onRestart()
4) void onResume()
5) void onPause()
6) void onStop()
7) void onDestroy()    Click for more
4. What is intent?
A class (Intent) describes what a caller desires to do. The caller sends this intent to Android’s intent resolver, which finds the most suitable activity for the intent. E.g. opening a PDF file is an intent, and the Adobe Reader is the suitable activity for this intent.
5. What is an AndroidManifest file?
Applications declare their components in a manifest file that's bundled into the Android package, the .apk file that also holds the application's code, files, and resources. The manifest is a structured XML file and is always named AndroidManifest.xml for all applications. It is also used for naming any libraries the application needs to be linked against (besides the default Android library) and identifying any permission the application expects to be granted.
6. What is Dalvik Virtual Machine?
The name of Android's virtual machine. The Dalvik VM is an interpreter-only virtual machine that executes files in the Dalvik Executable (.dex) format, a format that is optimized for efficient storage and memory-mappable execution. The virtual machine is register-based, and it can run classes compiled by a Java language compiler that have been transformed into its native format using the included "dx" tool. The VM runs on top of Posix-compliant operating systems, which it relies on for underlying functionality (such as threading and low level memory management). The Dalvik core class library is intended to provide a familiar development base for those used to programming with Java Standard Edition, but it is geared specifically to the needs of a small mobile device.
7. Explain Android Architecture

Click Here 

8. What are the core building blocks of android?

The core building blocks of android are:

  • Activity
  • View
  • Intent
  • Service
  • Content Provider
  • Fragment etc.
9. What items are important in every Android project?  

These are the essential items that are present each time an Android project is created:
- AndroidManifest.xml
- build.xml
- bin/
- src/
- res/
- assets/
10. What is the importance of XML-based layouts?
 
The use of XML-based layouts provides a consistent and somewhat standard means of setting GUI definition format. In common practice, layout details are placed in XML files while other items are placed in source files.

Stay Tuned with Made In Android 

Previous Page Next Page Home

No comments:

Post a Comment

Top