Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3928 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

This is great! Now can you imagine how much faster it would be had you used one of our hardware barcode scanners? Check out store.zerobluetech.com for Bluetooth barcode scanners for iOS devices. You can even pop the keyboard out if you want to type after scanning.

Any questions, let me know.

Posted

Thanks Agnes, I know the alternatives, but I'm doing this for a reason.

As promised, here is the guide for the FileMaker Go barcode example.

To decode the barcode, I send picture to the server (in my example via net without using FMS) that performs the actual analysis and decoding and then sends back the result. There are two ways to do this; with iOS 6 media uploads without using FMS or with containers and FMS.

You'll need the following:

1) Zbar source code (the binary for OS X is not available)

2) ImageMagick source code (the binary for OS X is not available)

3) Xcode and Command Line Tools for Xcode (needed to compile the Zbar and ImageMagick)

4) Apache and PHP

5) FileMaker file and PHP/HTML/CSS/JS file

I. Download and Install Xcode and Command Line Tools for Xcode

II. Download ImageMagick source code, unpack and compile

III. Download Zbar source code, unpack and compile (without Python, GTK, QT and disable video)

IV. Enable PHP on OS X and change maximum size of post data to 5MB

V. Run Web Sharing in OS X

Next, create PHP file upload script, set opacity for input type: file to zero, disable format detection with meta tag and prevent scrolling with JS (in Mobile Safari), write JS for auto-submit and run shell script to run Zbar to decode and return the result. Then create a FileMaker file with WebViewer object to display previously created file with trigger OnObjectExit to get a string from WebViewer into field and to do the search.

Links:

http://zbar.sourceforge.net/

http://www.imagemagick.org/

https://developer.apple.com/xcode/

I hope it is not to complicated.

  • 2 months later...
  • 4 months later...
  • 6 months later...
  • 6 months later...
×
×
  • Create New...

Important Information

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