Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 65 - 2612_Digimind
P. 65

    Clock  Sensor: It tracks  time  for  timers,  alarms and real-time updates,  used  in apps  like

                         alarms, reminders and fitness.
                         Gyroscope Sensor: It measures device rotation and tilt, used in VR apps and motion-based
                         games.

                         Hygrometer Sensor: It measures air humidity and is used in weather and agriculture apps to
                         monitor conditions.

                         Light Sensor: It detects light and is used to adjust screen brightness or enable night mode.

                         Location Sensor: It uses GPS to find the device’s position.
                         Magnetic Field Sensor: It detects magnetic fields around the device.

                         Near  Field Communication  (NFC)  Sensor: It enables  devices  to  share data  when  close
                         together.

                         Orientation Sensor:  It  detects  device  angle  and  direction,  used  in  auto-rotate  screens,
                         AR apps and camera stabilisation.

                         Pedometer Sensor: It counts the steps you take while walking or running.
                         Proximity Sensor: It detects if an object is near the device without touching it.

                         Thermometer Sensor: It measures the temperature around the device.

                          Tick ( ) if you know this.
                          ▶  The Location Sensor uses GPS to find the device’s position.

                          ▶  The Thermometer Sensor measures the temperature around the device.

                          PURE
                          FACT       MIT App Inventor has over 400,000 unique monthly active users.

                               CREATING AN APP USING SENSORS

                     Sensors can create apps that respond to movement, like a Pedometer app, which counts steps
                     using a pedometer sensor and displays the count on the screen.

                     DESIGNING THE USER INTERFACE (UI) FOR THE PEDOMETER APP
                     To design the user interface for the Pedometer app, follow the given steps:

                     Step  1   Create new project in the MIT App Inventor.

                                                                                              Touch to Motion with MIT  63

| 60 61 62 63 64 65 66 67 68 69 70 |