Android Studio Basic Question Answer - IndianTechnoEra
Latest update Android YouTube

Android Studio Basic Question Answer

 




Q.1. Which Kernel is used in Android?

The Android kernel is based on an upstream Linux Long Term Supported (LTS) kernel.


Q.2. Who is the founder of Android?

Android Inc. was founded in Palo Alto, California, in October 2003 by Andy Rubin, Rich Miner, Nick Sears, and Chris White.


Q.3. What is Mobility?

Mobility is not just about glittering mobiles or glancing tabs. But about transforming user experience. From the confidence of a desk. To convenience of anytime, anywhere. 


Q.4. Define Enterprise Mobility.

The growing trend of businesses to offer remote working options, allow the use of personal laptops and mobile devices for business purposes and make use of cloud technology for data access.


Q.5. How logical landscape is different from a physical ecosystem?

Logical landscape and physical ecosystem can be differentiated by some points. Nature of existence components. Interactions. Adaptability. 


Q.6. Define Middleware and Protocols.

Middleware referred to software refers as a bridge between operating system and application are running on it. 

Protocols are in the set of rules Of standard. That defines how devices and applications communicate with each other over network. 


Q.7.What are the various key mobility components?

There are the following various key mobility components. Activities. Services. Broadcast. Content providers. 


Q.8. AndroidManifest.xml file is used for what?

This includes the package name, activity names, main activity (the entry point to the app), Android version support, hardware features support, permissions, and other configurations.


Q.9. onStop( ) method is invoked when_______________.

onStop() method invoked at following activities-

At minimizing the app as the sequence onPause --> onStop

also invoked at the destroying the app as sequence onPause --> onStop --> onDestroy


Q.10. What is the importance of setting permissions in app development?

App permissions help support user privacy by protecting access to the following: Restricted data, such as system state and users' contact information. Restricted actions, such as connecting to a paired device and recording audio.


Q.11.What are the basic components of any android application?

Activities. An activity is a class that is considered as an entry point for users that represents a single.

Services: A service is a component that runs in the background, it acts as an invisible worker of our application. It keeps updating data sources and activities. It also broadcasts intents and performs tasks when applications are not active. 

Content Providers: Content Provider is a component that allows applications to share data among multiple applications. It hides the details of the database and can be used to read and write private data of the application which is not shared.

Broadcast Receiver: Broadcast Receiver is a component that responds to broadcast messages from another application or the same system. It can also deliver broadcasts to applications that are not running. For example – notify the user that the battery is low.


Q.12. What is the use of a values.xml file?

An XML value represents well-formed XML in the form of an XML document, XML content, or an XML sequence. An XML value that is stored in a table as a value of a column defined with the XML data type must be a well-formed XML document.


Q.13. Where strings.xml file is placed in the android app structure?

XML file, which is present in the app/res/values directory. It contains all the details regarding the dimensions used inside our application.


Q.14. What is the use of an emulator?

An emulator essentially allows one computer system (aka “the host”) to imitate the functions of another (aka “the guest”). With the help of an emulator, a host system can run software, programs, which are designed for the guest system.


Q.15. What are the various tools that are placed in an android SDK?

The SDK Tools primarily includes the stock Android emulator, hierarchy viewer, SDK manager, and ProGuard. 


Q.16. What do you mean by ANR?

When the UI thread of an Android app is blocked for too long, an "Application Not Responding" (ANR) error is triggered. If the app is in the foreground, the system displays a dialog to the user, as shown in figure 1. The ANR dialog gives the user the opportunity to force quit the app.


Q.17. Is SQLite Database used in Android?

SQLite Database is an open-source database provided in Android which is used to store data inside the user's device in the form of a Text file. We can perform so many operations on this data such as adding new data, updating, reading, and deleting this data.


Q.18. What is ART?

Android runtime (ART) is the managed runtime used by applications and some system services on Android. ART and its predecessor Dalvik were originally created specifically for the Android project. ART as the runtime executes the Dalvik Executable format and Dex bytecode specification.


Q.19. What is the use of the R.Java file?

Android R. java is an auto-generated file by aapt (Android Asset Packaging Tool) that contains resource IDs for all the resources of res/ directory. If you create any component in the activity_main. xml file, id for the corresponding component is automatically created in this file.


Q.20. What is a menu.xml file?

For all menu types, Android provides a standard XML format to define menu items. Instead of building a menu in your activity's code, you should define a menu and all its items in an XML menu resource. 

Post a Comment

Feel free to ask your query...
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.