Blog

Software tips, techniques, and news.

FileMaker Go Sensor Functions

In addition to being a leader in Rapid Application Development, FileMaker empowers developers to creatively implement solutions for a wide variety of business cases. FileMaker engineers have expanded the developer’s toolbox by incorporating access to the internal sensors of iOS devices for FileMaker Go users. The dynamic single GetSensor function takes one of 19 primary parameters and returns in real-time data from the accelerometer, gyroscope, compass, or barometer in your device.

youtube-preview

The Function

The parameters that can be used with the new function include:

  • GetSensor ( “batteryLevel”)

  • GetSensor ( “batteryStatus” )

  • GetSensor ( “location” { ;accuracy; timeout} )

  • GetSensor ( “locationValues” { ;accuracy; timeout} )

  • GetSensor ( “attitude” )

  • GetSensor ( “rotationRate” )

  • GetSensor ( “accelerationByUser” )

  • GetSensor ( “accelerationByGravity” )

  • GetSensor ( “rotationRate” )

  • GetSensor ( "speed" {; accuracy; timeout} )

  • GetSensor ( "heading" {; accuracy; timeout} )

  • GetSensor ( "magneticField" )

  • GetSensor ( "compassMagneticHeading" {; accuracy; timeout} )

  • GetSensor ( "compassTrueHeading" {; accuracy; timeout}

  • GetSensor ( "stepCount" {; forPastSeconds} )

  • GetSensor ( "stepDistance" {; forPastSeconds} )

  • GetSensor ( "stepFloorsUp" {; forPastSeconds} )

  • GetSensor ( "available" )

  • GetSensor ( "airPressure" )

FileMaker Go Available Sensors

Use Cases

There are many practical uses for employing device sensors. The new functions could be used to help track employee activity out in the field or notify a user with a low battery before they attempt to run a lengthy scripted process. Remember that sensor availability varies between iPad and iPhone models! GetSensor (“available”) should be used to validate which sensors are available on a particular device before executing the GetSensor function with other parameters in your custom apps. In our demonstration we incorporate this new functionality to produce a fun, simple pedometer.

Conclusion

Using this simple but dynamic function you can integrate the sensors in your device with your FileMaker Go optimized solution. Feel free to contact us if you need further assistance or to discuss getting your iOS device's sensors integrated with FileMaker.

Did you know we are an authorized reseller for Claris FileMaker Licensing?
Contact us to discuss upgrading Claris your FileMaker software.

Download the FileMaker Go Sensor File

Please complete the form below to download your FREE FileMaker file.

First Name *
Last Name *
Company
Email *
Phone *
FileMaker Experience *
Agree to Terms *
armen nahapetian headshot.
Armen Nahapetian

Armen has an avid interest in software development, specifically writing and testing code and is a FileMaker Certified Developer. He is also keen on virtual reality and would love to develop it one day. Not only does he thrive on the challenge of a new project, but he is also dedicated to going the extra mile to deliver excellence for his clients.