PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → WD16 Android Barcode Capture
WD16 Android Barcode Capture
Débuté par DAVE SUMMERS ( DS PR, 30 mai 2011 23:04 - 2 réponses
Membre enregistré
16 messages
Posté le 30 mai 2011 - 23:04
Can anyone please help.

Trying to do barcode capture/decode on android with camera. I have installed android SDK. example in help shows;

bc is barcode
bc = BCCapture()
etc.

When i try the above, I get a syntax error in WD16 for the bc variable declaration. barcode is not showing as an option in the datatype list for a variable.

Can anyone please help.

kindest regards

Dave
Posté le 31 mai 2011 - 08:57
Dave;

I contacted support on this. This will get you going, I would imagine they will fix this in a future release.

Very sorry for the inconvenience. It looks like a translation problem.

As a workaround, use the french syntax :

// Décodage d'un code-barres QR Code
cb est un CodeBarres
cb = CBCapture()
SI ErreurDétectée = Faux _ET_ cb..TypeContenu = cbTypeEmail ALORS
Info("Adresse email : " + cb..ValeurBrute)
FIN
Posté le 31 mai 2011 - 14:19
Hi

Works a treat.

Thank you very much for your held

Regards

Dave