• Call us: +91 9501707741
  • tutorialzdiary@gmail.com

ANDROID

ANDROID Tutorials

Chapter 1: Introduction
Chapter 2: What is Android?
Chapter 3: MVP Design Pattern
Chapter 4: Basic Java Programming
Chapter 5 : Android Programming
Chapter 6 : Web Services
Chapter 7 : App Store Process
Chapter 8 : Git Hub & other Resources
Chapter 9: Conclusion

ANDROID Interview Questions and Answers

Part 1: Java
Part 2: Android
Part 3: Android Core
Part 4:Database

ANDROID Installation

Part 1: Android Studio Setup

Question: What is Android?
Answer: It is an open-sourced that is used primarily on mobile devices, such as cell phones and tablets. The application executes within its own process and its own instance of Dalvik Virtual Machine.

Question: Who is the founder of Android?
Answer: Andy Rubin

Question:What Is the Google Android SDK?
Answer: 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

Question:What is the Android Architecture?
Answer:Android Architecture is made up of 4 key components: Linux Kernel , Libraries, Android Framework, Android Application

Question:What is An Activity?
Answer:Activity performs actions on the screen.If you want to do any operations, we can do with activity.

Question:What is a Fragment?
Answer:A fragment is a part or portion of an activity. It is modular in a sense that you can move around or combine with other fragments in a single activity. Fragments are also reusable.

Question:What is An Intent?
Answer:It is connected to either the external world of application or internal world of application ,Such as, opening a pdf is an intent and connect to the web browser.etc.

Question:What is an explicit Intent?
Answer:It is useful to connect external world of application, for example, connecting to web browser.

Question:What is an implicit Intent?
Answer:It is useful to connect internal world of application, Such as, connecting one activity to another activity.

Question:Differentiate Activities from Services.
Answer:Activities can be closed, or terminated anytime the user wishes. On the other hand, services are designed to run behind the scenes, and can act independently. Most services run continuously, regardless of whether there are certain or no activities being executed.

Question:What items are important in every Android project?
Answer:These are the essential items that are present each time an Android project is created: AndroidManifest.xml , build.xml , bin/ , res/, assets/

Question:What are the core building blocks of android?
Answer: The core building blocks of android are:

  • Activity
  • View
  • Intent
  • Service
  • Content Provider
  • Fragment etc.

 

Question:What is service in android?
Answer: A service is a component that runs in the background. It is used to play music , handle network transaction etc.

Question:Tools Required for Developing Android Apps?
Answer: JDK, Eclipse + ADT Plugin, SDK Tools

Question:What are containers?
Answer:Containers, as the name itself implies, holds objects and widgets together, depending on which specific items are needed and in what particular arrangement that is wanted. Containers may hold labels, fields, buttons, or even child containers, as examples.

Question:What is An android manifest file?
Answer:An android manifest file holds application code,resources,permissions,icons and themes,An application should need at least one manifest file.

Question:What is An android manifest file?
Answer:An android manifest file holds application code,resources,permissions,icons and themes,An application should need at least one manifest file.

Question:What do ADT stands for?
Answer:ADT stands for Android development tool,This is useful to develop the applications and test the applications.

Question:What is content provider?
Answer: Content providers are used to share information between android applications.

Question: How to Start Another Activity?
Answer: Intent i = new Intent(getApplicationContext(), Activity2.class); startActivity(i);

Question:What is AVD?
Answer:AVD Stand for Android Virtual Device (emulator), The Android SDK includes a mobile device emulator – a virtual mobile device that runs on your computer.

Question:What is ADB?
Answer: ADB stands for Android Debug Bridge. It is a command line tool that is used to communicate with the emulator instance.

Question:What is Orientation?
Answer:Orientation, which can be set using setOrientation(), dictates if the LinearLayout is represented as a row or as a column. Values are set as either HORIZONTAL or VERTICAL.

Question:What is ANR in android?
Answer: ANR stands for application is not responding, basically it is a dialog box that appears when the application is not responding.

Question:What are the notifications available in android?
Answer: Toast Notification − It will show a pop up message on the surface of the window
Status Bar Notification − It will show notifications on status bar
Dialogue Notification − It is an activity related notification.

Question:What are the four essential states of an activity?
Answer:  

1. Active – if the activity is at the foreground

2. Paused – if the activity is at the background and still visible

3.Stopped – if the activity is not visible and therefore is hidden or obscured by another activity

4. Destroyed – when the activity process is killed or completed terminated

Question:Which elements can occur only once and must be present?
Answer: Among the different elements, the and elements must be present and can occur only once. The rest are optional, and can occur as many times as needed.

Question:What is DDMS?
Answer: DDMS stands for Dalvik Debug Monitor Server. It gives the wide array of debugging features:
Port forwarding services
Screen capture
Thread and heap information
Network traffic tracking
Location data spoofing

Question:What is a portable wi-fi hotspot?
Answer: The portable wi-fi hotspot is used to share internet connection to other wireless devices.

Question: What is the importance of settings permissions in app development?
Answer: Permissions allow certain restrictions to be imposed primarily to protect data and code. Without these, codes could be compromised, resulting to defects in functionality

Question: What is an Adapter in android?
Answer: The Adapter is used to create child views to represent the parent view items.

Question: What is shared preferences in android?
Answer: Shared preferences are the simplest mechanism to store the data in XML documents.

Question: What are the different states wherein a process is based?
Answer: There are 4 possible states:

  • foreground activity
  • visible activity
  • background activity
  • empty process

Question: What role does Dalvik play in Android development?
Answer: Dalvik serves as a virtual machine, and it is where every Android application runs. Through Dalvik, a device is able to execute multiple virtual machines efficiently through better memory management.

Question:What is the proper way of setting up an Android-powered device for app development?
Answer: The following are steps to be followed prior to actual application development in an Android-powered device:

  • Declare your application as “debuggable” in your Android mainfest.
  • Turn on “USB Debugging” on your device.
  • Set up Your system to detect your device.
image_pdfimage_print

Newsletter
Training Enquiry