Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FMGo 14 Loop To Keep Camera Active?

Featured Replies

I have a class attendance solution that I've been running with the help of FMGo 13 for some time. The solution uses a bluetooth barcode scanner and an iOS device to scan a student id and track attendance etc. The bluetooth connection to the iOS device has proven the weakest link in that it occasionally drops and requires re-pairing the device. While not rocket science to re-pair the scanner it's not ideal for the end user. With the advent of FMGo 14 one can now utilize the onboard iOS camera for scanning, however, I'm having difficulty creating a loop to keep the camera active. I would like the camera to scan and stay active so the user does not have to "activate" the camera with each scan. Anyone out there with any thoughts or experience with creating such a loop function for the FMGo 14/iOS camera feature?

  • Author

I've had my issue resolved on another forum and thought I would share in hopes of helping others. The following script bits did the trick.

Go To Layout [whatever layout]

Set Error Capture [ on ]

Loop

  New Record

  Insert From Device [ barcode type ; barcodeScans::barcode field ]

  Exit Loop If [ get(lasterror) = 1 ]

End Loop

Delete Record [ no dialog ]

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.