Monday 30 March 2015

Android Interview Questions and Answers for Freshers

Question: What is Android?
Open source operating system used for smartphones and tablet computers.

Question: In which languages Android is written?
C, C++, Java

Question: What is Initial release date?
September 23, 2008

Question: What is Latest release of Android?
Version: 6.0.1 "Marshmallow"
Date: December 09, 2015

Question: What is offical website of Android?

Question: Who are Inventors of android?
Andy Rubin, Rich Miner, Nick Sears

Question: What are Features of Android OS?
  • Live wallpaper
  • Camera
  • Messaging
  • Music
  • Alarm
  • Bluetooth
  • WIFI
  • Web Browsing

Question: What are Advance Features of Android OS?
  • Google now
  • NFC (Near Field Communication)
  • Use phone by joystick
  • Connect your phone with LED TV via MHL or micro HDMI cable
  • Screen Capture
  • Unlock your phone by your face
  • Multitasking
  • Data Usages

Question: Tools Required for Developing Android Apps?
Java Development Kit (JDK)
Android Development Tools (ADT)
Software Development Kit (SDK)

Question: What is Full form of JDK?
Java Development Kit

Question: What is Full form of ADT?
Android Development Tools

Question: What is Full form of SDK?
Software Development Kit

Question: What is full form of AIDL?
Android Interface Definition Language

Question: What is full form of ANR?
Application Not Responding

Question: What are Advantages of android?

Question: What language you should know to develop android application?

Question: What is Activities?
Activity is a single, focused thing that the user can do.
When ever user click on GUI the next Activity will be start and new GUI set base on coding.

Question: What is AVD?
Full form of AVD is Android Virtual Device (emulator).
Android SDK includes a mobile device that is know as virtual device.

Question: Can you deploy executable JARs on Android? Which packaging is supported by Android?

Question: Where can you define the icon for your Activity?
In manifest file.

Question: Where will you declare your activity so the system can access it?
In manifest file.

Question: How will you pass data to sub-activities?
Use Bundles to pass data to sub-activities.

Question: What is an Action?
Action in Android is something that an Intent sender wants to complete.

Question: Can we change the name of an application after its deployment?
Not recommended.

Question: How can two Android applications share same Linux user ID and share same VM?
To do this must sign with the same certificate.

Question: Explain about folder structure in Android development.
Following are different folder in Android
src: Contains the .java source files for your project.
gen: This folder contains the file. It is compiler-generated file that references all the resources found in your project.
Android 4.0 library: This folder contains android.jar file, which contains all the class libraries for an Android application.
assets: This folder contains all the information about HTML file, text files and databases etc.
bin: It contains the .apk file (Android Package).
res: This folder contains all the resource file that is used by android application.

Question: What is Intents in android?
An Android application can contain zero or more activities. If you want to navigate from one activity to another then android provides you Intent class and these class are available inandroid.content.Intent package.

Question: What are the key components of Android Architecture?
  • Linux Kernel
  • Libraries
  • Android Framework
  • Android Applications

Question: What is an Explicit Intent?
Explicit intent specifies the particular activity that should respond to the intent.

Question: When does onResume() method called?
onResume is called when activity come to foreground.

Question: What are the different storage methods in android?
  • Internal Storage
  • External Storage
  • Shared Preferences
  • SQLite Databases