Examples

  • test1.htm : test page with 2 barcode fields. Works only from Mocha barcode. Do not load test1.htm in Safari!
  • test2.htm : test page loading the mocha barcode app from the Safari browser.
  • test3.htm : callback page for test2.htm
  • test2a.htm : (From v 1.7) test page loading the mocha barcode app from the Safari browser and returns result to the same page.
  • atest2.htm : test page loading the mocha barcode app from the Safari browser. A parameter is included in the URL
  • atest3.htm : callback page for atest2.htm
  • test99.htm : as test1.htm, but also activate "submit form" after a scan
  • testg.htm : access Location Services from HTML5. Requires Mocha barcode v 2.1
  • testg1.htm : test if running page in Safari or inside mocha barcode. Requires Mocha barcode v 2.1
  • test1s.htm : This is a simple demo page making URL scheme call to another app PassPRNT. Requires mocha barcode v 2.2