Skip to main content

Posts

Showing posts with the label dalvik

Interview Questions 31 -- 40

What is the importance of having an emulator within the Android environment? The emulator provides 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. Differentiate Activities from Services. 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. What are containers? 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. What is Orientation? Orientation, which can be set using setOrientation(), dictates if the LinearLayout is...

Interview Question 21 - 30

See more basics on Android along with interview questions Explain about the Android Exceptions ? The following are the exceptions that are supported by Android InflateException :         When an error conditions are occurred, this exception is thrown Surface.OutOfResourceException:         When a surface is not created or resized, this exception is thrown SurfaceHolder.BadSurfaceTypeException:          This exception is thrown from the lockCanvas() method, when invoked on a Surface whose is SURFACE_TYPE_PUSH_BUFFERS WindowManager.BadTokenException:          This exception is thrown at the time of trying to add view an invalid WindowManager.LayoutParamstoken. What is Drawable? A compiled visual resource that can be used as a background, title, or other part of the screen. It is compiled into an android.graphics.drawable subclass. What is an Intent Receiver? An a...

Interview Questions 11 -- 20

See more basics on Android along with interview questions Talk on Android OS ?                  Android is a Linux-based operating system designed primarily for touchscreen mobile devices such as smartphones and tablet computers. Initially developed by Android, Inc., which Google backed financially and later bought in 2005.Android is the world's most popular mobile platform. Android is a Linux-based mobile phone operating system developed by Google. Android is unique because Google is actively developing the platform but giving it away for free to hardware manufacturers and phone carriers who want to use Android on their devices. What is Android SDK ?                 A software development kit that enables developers to create applications for the Android platform. The Android SDK includes sample projects with source code, development tools, an emulator, and required libraries to build An...

What is .dex extension in ANDROID ?

Compiled Android application code file. Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped into a single .apk file on the device. .dex files can be created by automatically translating compiled applications written in the Java programming language.

Interview Questions 1 -- 10

See more basics on Android along with interview questions What is definition of Android ?                Android is a software stack for mobile devices that middleware, operating systems,    and application-specific key. The application must be implemented in its own process    and the Dalvik virtual machine interface. DVM is used effectively run multiple virtual    machines. Java byte code is executed which is converted file format called Dex. How the data will be stored in Android or types of data stored in Android ?    Internal Storage   Connecting to a network    General preferences    SQLite database   External Storage What are the components of Android Application ?                Android is written in java programming language.Android application are composed of       some of the main com...

What is Dalvik Virtual Machine ?

See more basics on Android along with interview questions Dalvik is the process virtual machine (VM) in Google's Android operating system.It halps to run the apps on ANDROID DEVICES.This is an integral part of Android.Programs are written in java and these are then converted from Java Virtual Machine-compatible .class files to Dalvik-compatible .dex (Dalvik Executable) files before installation on a device.This is done in terms of memory and processor speed. It is a Register based Virtual Machine. It is optimized for low memory requirements. It has been designed to allow multiple VM instances to run at once. Relies on the underlying OS for process isolation, memory management and threading support. Operates on DEX files.

Android Architecture

See more basics on Android along with interview questions Linux Kernal : This is the bottom most layer of architecture but it is the root of the whole system.It is important for the following features. Hardware Abstraction Memory Management Programs Security Settings Power Management Software Other Hardware Drivers (Drivers are programs that control hardware devices.) Support for Shared Libraries Network Stack Native Libraries and Android Runtime: Libraries guides the device in handling different types of data.For example Media Framework Library for handling audio video formats.Android Runtime includes a set of core Java libraries.It also include Dalvik Virtual MAchine for handling dex files. some of the open source Libraries are: Surface Manager: composing windows on the screen SGL: 2D Graphics Open GL|ES: 3D Library Media Framework: Supports playbacks and recording of various audio, video and picture formats. Free Type: Font Rendering W...