Question

In: Computer Science

Purpose Understand the development of Android Apps using the sensors that can provide information about the...

Purpose

Understand the development of Android Apps using the sensors that can provide information about the device’s internal and external environment and hardware features, such as the camera and phone.

Topic for Discussion

Discuss how the sensors and hardware components on mobile devices can be used to augment the app’s functionality and give an example.

Solutions

Expert Solution

Sensors:

Most Android-powered devices have built-in sensors that include motion, orientation, and various environmental contingencies. These sensors are proficient of providing raw data with high precision and accuracy and are useful if you want to monitor three-dimensional device transfer or positioning, or you want to monitor changes in the ambient environment near a device. For example, a game might track readings from a device's gravity sensor to understand complex user gestures and motions, such as tilt, shake, rotation, or swing. Likewise, a weather application might use a device's temperature sensor and humidity sensor to calculate and report the dewpoint, or a travel application might use the geomagnetic field sensor and accelerometer to describe a compass bearing

The Android platform supports three broad categories of sensors:

  • Motion sensors

    These sensors cover acceleration forces and rotational forces along three axes. This category includes accelerometers, gravity sensors, gyroscopes, and rotational vector sensors.

  • Environmental sensors

    These sensors measure various environmental parameters, such as ambient air temperature and pressure, illumination, and humidity. This category includes barometers, photometers, and thermometers.

  • Position sensors

    These sensors measure the physical position of a device. This category includes orientation sensors and magnetometers.

Sensor Type Description Common Uses
TYPE_ACCELEROMETER Hardware Measures the acceleration force in m/s2 that is applied to a device on all three physical axes (x, y, and z), including the force of gravity. Motion detection (shake, tilt, etc.).
TYPE_AMBIENT_TEMPERATURE Hardware Measures the ambient room temperature in degrees Celsius (°C). Monitoring air temperatures.

Face filters:

Face filters are one of the most familiar cases where AR is used. The success story of face filters began in 2015 when Snapchat launched them in their app. People have gone crazy about them and started to heavily use them.

But how is it actually possible to show e.g. dog’s ears or tongue on a human head? The answer is to face recognition algorithms and some 3D magic. Recognizing human faces is not a trivial feature, but now there are tools that allow developers to create their own face filters, for example, the Firebase ML Kit.

With Firebase it is possible to detect the positions of eyes, mouth, nose, and contours. Such data can then be used to place a 3D mesh with proper graphics over the camera image.


Related Solutions

What are the benefits of using websites and mobile apps for patient education? And How can...
What are the benefits of using websites and mobile apps for patient education? And How can you use in a clinical setting
Can other sensors be used to detect food consumption? What will be the challenges in using...
Can other sensors be used to detect food consumption? What will be the challenges in using other sensors? Could they be combined with visual approaches.
Think about the purpose of managerial accounting and the purpose that the information serves. In today’s...
Think about the purpose of managerial accounting and the purpose that the information serves. In today’s business environment what type of accounting information do you believe a manager needs to make decisions that are important for the success of a company?
Can you explain the historical development, purpose and differences of circular economy
Can you explain the historical development, purpose and differences of circular economy
How can a damaged brain provide information about the normal system as it relates to language?
How can a damaged brain provide information about the normal system as it relates to language?
How can you use what you learned about human development to provide optimal healthcare to all...
How can you use what you learned about human development to provide optimal healthcare to all of your patients? Give two specific examples of how you can apply concepts or theories to potential healthcare scenarios. ( Piaget, Erikson)
Please write essay about why we need to understand or know the sustainable development?
Please write essay about why we need to understand or know the sustainable development?
Can anyone provide useful source or information about Doubly Fed Induction generator ? I can able...
Can anyone provide useful source or information about Doubly Fed Induction generator ? I can able the basic information on the operating principles of DFIG, however, I want more information about the innovations, statistics , just any additional information about DFIG would be appreciated.
Provide information about Distance-vector routing protocols. Provide information about Link-state routing protocols. Provide some troubleshooting commands...
Provide information about Distance-vector routing protocols. Provide information about Link-state routing protocols. Provide some troubleshooting commands and explain about the usage.
Using an HCO you are familiar with or one that you can get information about, conduct...
Using an HCO you are familiar with or one that you can get information about, conduct an organizational assessment using the SWOT analysis process. Provide a brief explanation of the SWOT process. Provide a brief description of the HCO (i.e. is it a hospital, LTC facility, medical clinic, etc.) To get full credit at least three (3) strengths, weaknesses, opportunities and threats must be listed.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT