Posts

Showing posts with the label Android Interview questions and answers

Top 25 Android Interview Questions and Answers Asked in Top Companies

Here are top 25  Android Interview questions and their answers are given just below to them. 1.What is Android ? Android   is a Software for mobile devices which includes an Operating System, middleware and some key applications. The application executes within its own process and its own instance of  Dalvik Virtual Machine . Many Virtual Machines run efficiently by a DVM device.  DVM  executes Java languages byte code which later transforms into  .dex  format files. 2.What are the different data types used by Android? The data can be passed between many services and activities using the following data types: –  Primitive Data Types : This is used to share the activities and services of an application by using the command as Intent.putExtras(). This primitive data passes the command to show the persistent data using the storage mechanism. These are inbuilt data types that are used with the program. They provide simple implementati...

6 Essential Interview Questions with Answers

Image
1 .  What is a ContentProvider and what is it typically used for? A ContentProvider manages access to a structured set of data. It encapsulates the data and provide mechanisms for defining data security. ContentProvider is the standard interface that connects data in one process with code running in another process. 2.  There are four Java classes related to the use of sensors on the Android platform. List them and explain the purpose of each. The four Java classes related to the use of sensors on the Android platform areL Sensor : Provides methods to identify which capabilities are available for a specific sensor. SensorManager : Provides methods for registering sensor event listeners and calibrating sensors. SensorEvent : Provides raw sensor data, including information regarding accuracy. SensorEventListene r: Interface that defines callback methods that will receive sensor event notifications. 3.  Under what condition could the code samp...