Barcode Demo

Discussions regarding developing applications using Servoy Mobile (new in Servoy 7)

Barcode Demo

Postby Peter de Groot » Fri Nov 08, 2013 2:09 pm

Hi,

I'm trying run the barcode demo from https://wiki.servoy.com/display/samples/Mobile+Demo,
but the function that run the actual scan uses
Code: Select all
cordova.plugins.barcodeScanner.scan(function(result)
.

If I use <gap:plugin name="com.phonegap.plugins.barcodescanner" /> in the config.xml nothing happens when clicking on the
"Scan a code" button. Is there a cordova plugin on Phonegap and how do I use it.

The Phonegap app runs on a samsung note 3 (android 4.3)

Tia,

Peter
Servoy 7.3.x || 7.4.x

NEM ENERGY BV
Peter de Groot
 
Posts: 207
Joined: Thu Jan 10, 2008 8:38 pm
Location: Has been compromised :-/

Re: Barcode Demo

Postby Peter de Groot » Fri Nov 08, 2013 2:52 pm

Hi,

I found the problem, I was pointing to the wrong config.xml, the barcode scanner works.

Regards,

Peter
Servoy 7.3.x || 7.4.x

NEM ENERGY BV
Peter de Groot
 
Posts: 207
Joined: Thu Jan 10, 2008 8:38 pm
Location: Has been compromised :-/


Return to Servoy Mobile

Who is online

Users browsing this forum: No registered users and 1 guest

cron