Android Viva Q&A (E-Next - In)
Android Viva Q&A (E-Next - In)
1) What is Android?
Android is an open source operating system that is mainly used on mobile devices like tablets and
Smartphones.
Its operations are mainly based on the Linux kernel system which comprises of rich elements that
enable developers to develop and run apps that are able to carry out both basic and advanced
functions.
5) What is Orientation?
Orientation decides if the LinearLayout should be presented in row wise or column wise fashion.
The values are set using setOrientation()
The values can be HORIZONTAL or VERTICAL
6) What is adb?
Adb simply stands for Android Debug Bridge.
It presents developers with the power to perform shell commands that are remote.
Its major work is to permit and direct communication towards and from the emulator port.
18) What is the importance of having an emulator within the Android environment?
The emulator lets developers "play" around an interface that acts as if it were an actual mobile
device.
They can write and test codes, and even debug.
Emulators are a safe place for testing codes especially if it is in the early design phase.
26) What is the proper way of setting up an Android-powered device for app development?
The following are steps to be followed prior to actual application development in an Android-powered
device:
a) Declare your application as "debuggable" in your Android Manifest.
b) Turn on "USB Debugging" on your device.
c) Set up your system to detect your device.
28) How do you remove icons and widgets from the main screen of the Android device?
To remove an icon or shortcut, press and hold that icon.
You then drag it downwards to the lower part of the screen where a remove button appears.
29) What are the core components under the Android application architecture?
There are 5 key components under the Android application architecture:
a) services
b) intent
c) resource externalization
d) notifications
e) content providers
36) How do you find any view element into your program?
Using with findViewById we can find view element.
51) State the code names of Android along with the year when they were brought in?
Following are the code names with year:
1. Astro v1.0 (September 2008)
2. Blender v1.1 (February 2009)
3. Cupcake v1.5 (April 2009)
4. Donut v1.6 (September 2009)
5. Eclair v2.0-2.1(October 2009)
6. Froyo 2.2-2.2.3 (may 2010)
7. Gingerbread 2.3-2.3.7 (December 2010)
8. Honeycomb 3.0-3.2.6 (February 2011)
9. Ice Cream Sandwich 4.0-4.0.4 (October 2011)
10. Jellybean 4.1-4.3.1 (July 2012)
11. Kitkat 4.4-4.4.4 (October 2013)
12. Lollipop 5.0-5.1.1 (November 2014)
13. Marshmallow 6.0-6.0.1 (since October 2015)
14. Nought 7.0-7.1.2 (August 2016)
15. Oreo 8.0-8.1 (August 2017)
16. Pie 9.0 (August 2018)
17. Android 10.0 (September 2019)