Q1 2 Marks List and Discuss Android devices location sensors

Q1. (2 Marks) List and Discuss Android devices location sensors.

Q2. (3 Marks) What are Adapters in android, explain different adapter views?

Q3. (7 Marks) Design a small app to convert from Hijri to Gregorian and vice versa (keep it simple as if on input 2016 you get 1437).

Q4. (4 Marks) Define the terms: activity, layout, intent, and AVD

Solution

Q1)

Now a days every smart phone is having sensors and there are many type of locations sensors and some of them are:

Barometer sensor:

It is used to measure the atmospheric pressure which is used to measure the pressure in the atmosphere.

GPS:

It is a type of sensor which shows exact location of the device or person in the form of maps

WiFi, cell id and Gps are mainly uses the this type of location sensors in android.

wifi sensors are used for the smartphones which are use to the access for the internet and GPS sensors are helpful for finding the locations.

Q2)

Adapters: Adapters are used in android which acts as the link between data and the adapter view which displays the data.

some of the adapters which are used for the androids are given below

Array Adapter is used by the arraylist which stores the objects and this will used to link between the array and adapter view.

simple cursor adapter is also one of the type of the adapter which is used to link between the cursor and the adapterview.

List adapter is an example of the adapter in the adapter view which links between the list adapter and adapter view.

Q1. (2 Marks) List and Discuss Android devices location sensors. Q2. (3 Marks) What are Adapters in android, explain different adapter views? Q3. (7 Marks) Desi

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site