31 XE3 quick videos in 31 days - Oct6 - FireMonkey 2 Location and Motion Sensor Components

Posted by on in Blogs
This RAD Studio XE3 video showcases FireMonkey 2's new sensor non-visual components for Location (TLocationSensor - Windows/Mac) and Motion (TMotionSensor - Windows).  These new components inherit from TCustomSensor and are built on top of the new System.Sensors unit (http://docwiki.embarcadero.com/Libraries/XE3/en/System.Sensors).  For FireMonkey projects, these new components appear in the Sensors tab of the Tool Palette.  Sensor APIs (TSensorCategory) supported by XE3 include:

  • Location

  • Environmental

  • Motion

  • Orientation

  • Mechanical

  • Electrical

  • Biometric

  • Light

  • Scanner


For each sensor category the unit defines (currently) the following possible sensor types:

  • TLocationSensorType = (GPS, Static, Lookup, Triangulation, Broadcast, DeadReckoning, Other);

  • TEnvironmentalSensorType = (Temperature, AtmosphericPressure, Humidity, WindSpeed, WindDirection);

  • TMotionSensorType = (Accelerometer1D, Accelerometer2D, Accelerometer3D, MotionDetector, Gyrometer1D, Gyrometer2D, Gyrometer3D, Speedometer);

  • TOrientationSensorType = (Compass1D, Compass2D, Compass3D, Inclinometer1D, Inclinometer2D, Inclinometer3D, Distance1D, Distance2D, Distance3D);

  • TElectricalSensorType = (Voltage, Current, Capacitance, Resistance, Inductance, ElectricalPower, Potentiometer);

  • TMechanicalSensorType = (BooleanSwitch, BooleanSwitchArray, MultiValueSwitch, Force, Scale, Pressure, Strain);

  • TBiometricSensorType = (HumanPresence, HumanProximity, Touch);

  • TLightSensorType = (AmbientLight);

  • TScannerSensorType = (RFID, Barcode);


I recently blogged about how you can list the sensors available to your VCL and FMX applications:

October 6 - FireMonkey 2 Location and Motion Sensor Components

Download: http://cc.embarcadero.com/item/29065

Watch on YouTube:  http://www.youtube.com/watch?v=LZVl2JvqKbI

Duration: 3 minutes and 15 seconds

Size: 14.7mb

Format: MP4

For additional product information go to http://www.embarcadero.com/products/rad-studio.


About
Gold User, Rank: 1, Points: 2466
David Intersimone (known to many as David I.) is a passionate and innovative software industry veteran-often referred to as a developer icon-who extols and educates the world on Embarcadero developer tools. He shares his visions as an active member of the industry speaking circuit and is tapped as an expert source by the media. He is a long-standing champion of architects, developers and database professionals and works to ensure that their needs are folded into Embarcadero's strategic product plans. David holds a bachelor's degree in computer science from California Polytechnic State University at San Luis Obispo, California.

Comments

Check out more tips and tricks in this development video: