1:-What is an application?

An application are some things that a user might install from the Play Store or otherwise download to their device that application should have some computer program and it would produce other code designed to figure within the background.

 2:-what is Android?

Android is a operating system which is developed by Google it is based on  Linux Kernel and other open source software and is designed mobile device such as a Smartphone and tablet Google has further develop Android TV for television and auto for cards and Android wear for the wrist watches each with a specialised user interface variants of Android are also used on game consoles digital cameras species and other electronics.

 3:-what is widget or views?

A control statement  (sometimes called a control or widget) in a graphical user interface is an element of interaction such as button or scroll bar .widget or view are the micro unit of user interface designing Android.

4:- what is emulator in Android studio?

An emulator is a piece of software that pretended to be an Android device .This is very useful for development not only does it mean you can get started on Android without a device but emulator can have faced device configuration that you don’t own.there are two types of emulator: x86 and ARM. these are to measure type of CPU used for Android devices .you really want to be able to the use of x86 emulator, as ARM emulator is extremely slow 

5:-what is resources in Android?

Resources are static width of information held outside the Java source code. resources are restored as file under the resource directory in your source code. here is where you will find all your icons and other images and many more

6:- what are containers?

Containers are ways of organised multiple  widget into some sort of structure.  a container have a set of children. those children are widget, what sometimes other container. container basically are layout in general terms for example:-

  • Linearlayout
  • Relative layout
  • Constraint layout

note:- a container can have their own padding, size, margin and can contain another container

7:-what is  log cat?

It is a tool in Android studio which helps you debug the application, logcat will show your stack traces Diagnostic information from the operating system For example log.e()  Miloge message at error severity.

 8:-how to  avoid ANR

We can avoid the ANR buy stock during heavy jobs on main thread. instead use worker thread     such as  intentService, Asynctask or another thread.

9:-What is ADB and how to use it?

Android debug Bridge (adb)  is a versatile command-line tool that lets you communicate with the device. The ADB command  facilitates a variety of device actions, such as installing for debugging applications, android provide access to a Unix shell that you can use to run a variety of command on a  devices.

 10:-what is WebView

WebView allow us to display web pages in our application it is a HTML rendering engine and  used as replica of webkit.

11:-What is style in Android

Style.XML Is a file in Android which contain styles, a style is a set of grouped attributes  which is intended to be used repeatedly  to apply  that attribute group in different view Android elements

12:-What is material design?

Material is an adaptable system of guidelines, components and tools that support the best practice of user interface design.

13:-what is R file in Android?

In Android Android Asset  packaging Tool(AAPT)  generated the R.java file which allow access to the layouts and Widget Windows layouts directly from your Java code

14:-What is the difference between Android units of measure? px dip dp sp

px Pixels- points to the actual pixels on the screen.
in Inches – supported the physical size of the screen.1 Inch 2.54 centimeters
mm Millimeters – supported the physical size of the screen.
pt Points – 1/72 of an in. supported the physical size of the screen.
dp or dip -Density-independent Pixels – an abstract unit that’s supported the physical density of the screen.
sp- Scale-independent Pixels – this is just like the dp unit, but it’s also scaled by the user’s font size preference. it’s recommended you utilize this unit when specifying font sizes, in order that they are going to be adjusted for both the screen density and user’s preference.

15:-Is there a unique Android device ID?

Yes -import android.provider. Settings.Secure, private String android_id =Secure.getString(getContext().getContentResolve

16:-How do I get screenWidth and screenHeight in the main Activity?

You can get the display dimensions in pixels by using of getSize:
Display display = getWindowManager().getDefaultDisplay();
Point size = new Point();
int width size.x;
int height = size.y:

17:-What are the supported languages of the Android System.

Android supports C,Java and more recently Kotlin as main languages..

18:-What is an .apk file?

The Android Package file(.apk) is a format used to package android applications for distribution and installation.It contains all the source code, resources, assets etc that the Android app needs to run.

19:-What is a Virtual Machine?

A Java Virtual Machine (JVM) enables a computer to run Java programs as well as programs which is written in other languages that are also compliled to Java bytecode..

20:-What is the principle of least privilege?

Every application, has access only to the components that it requires to do its work and no more ,by default,. The reason for this s that this creates a very secure environment in which an app cannot access parts of the system for which it is not given permission.

21:-What are some of the Android security features for apps?

By default Android provides several security features for every running app
Different app user
Unique Linux User ID
Unique VM
Separate process for each app

22:-What is the Android NDK?

The Android Native Development Kit(NDK) is a set of tools that allows you to use C and C++ code with Android and provide libraries that can be used to manage access physical device components, such as sensors and touch inputs and native activities.

Also Read

You may also like...


No Comment.