Android Interview Questions
What is Android?
An open source operating system which is basically used on mobile devices, such as mobile phones and tablets. Its system is based upon Linux kernel which is equipped with components that allow developers to build and run applications that can execute both basic and advanced functions.
What is the Android Architecture?
Android Architecture is developed uponfour key components:
- Linux Kernel
- Android Framework
- Android Applications
What Is the Google Android SDK?
The Google Android SDK is a toolset that developers require in order to write apps on Android enabled equipment’s. It contains a graphical interface that emulates an Android driven handheld environment, enabling them to test and debug their codes.
Describe the Android Framework.
The Android Framework is an important feature of the Android Architecture. Where you can find all the methods and classes that developers would need in order to write applications on the Android environment.
What is AAPT?
AAPT is an acronym for Android Asset Packaging Tool. This tool grants developers with the capability to deal with zip-compatible archives, which incorporates creating, extracting as well as viewing its contents.
Why is it important to have an emulator inside the android environment?
The emulators allow developers to write, test codes, debug and “play” around an interface which acts as a real mobile device. Emulators are secure and safe place for testing codes especially in the initial design phase.
Activities are something you refer to as the window to a UI. Similarly, as you ask for an input in the form of dialog boxes or create windows in order to display output, activities play the similar role, though it may not always be in the form of a user interface.
What is the use of an ActivityCreator?
An ActivityCreator is actually the initial step to the development of a new android project. Its ‘built up of a shell script that will be used to generate new file system structure essential for writing codes inside the Android IDE
What are Intents?
Intents are operations to be performed, they display message notifications to the user within the android enabled device. They can be used to caution user about the alerts of a particular state which occurred.
Differentiate Activities from Services.
Activities can be terminated or closed anytime the user desires. Further services are designed to run in the backstage, and can act separately. Most services run without interruptions, regardless of whether there are certain or no activities are actually executed.