Re: a QR Code reader for iOS and Android?

2020-04-13 Thread Monte Goulding via use-livecode



> On 14 Apr 2020, at 9:06 am, kee nethery via use-livecode 
>  wrote:
> 
> The dictionary in 9.5.1 Indy indicates mergeAVCam is ios and mac. Thanks for 
> clarifying it is not mac.

Ah, ok that should get fixed
> 
> Can you tell me the list of bar code types that mergAVCamBarcodeTypes() would 
> return in ios? That list is not in the dictionary.

AVMetadataObjectTypeUPCECode, 
AVMetadataObjectTypeCode39Code, 
AVMetadataObjectTypeCode39Mod43Code,
AVMetadataObjectTypeEAN13Code, 
AVMetadataObjectTypeEAN8Code, 
AVMetadataObjectTypeCode93Code,
AVMetadataObjectTypeCode128Code,
AVMetadataObjectTypePDF417Code, 
AVMetadataObjectTypeQRCode, 
AVMetadataObjectTypeAztecCode, 
AVMetadataObjectTypeITF14Code, 
AVMetadataObjectTypeDataMatrixCode
> 
> Am hoping that I can build something for Android and iOS that can exchange 
> data between those devices using QR codes (assuming QR codes are supported by 
> ios for scanning).

Yes they are

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: a QR Code reader for iOS and Android?

2020-04-13 Thread kee nethery via use-livecode
The dictionary in 9.5.1 Indy indicates mergeAVCam is ios and mac. Thanks for 
clarifying it is not mac.

Can you tell me the list of bar code types that mergAVCamBarcodeTypes() would 
return in ios? That list is not in the dictionary.

Am hoping that I can build something for Android and iOS that can exchange data 
between those devices using QR codes (assuming QR codes are supported by ios 
for scanning).

Thanks!

Kee

> On Apr 13, 2020, at 3:47 PM, Monte Goulding via use-livecode 
>  wrote:
> 
> 
> 
>> On 14 Apr 2020, at 8:30 am, kee nethery via use-livecode 
>>  wrote:
>> 
>> I see that the Android Barcode Library can scan QRcodes. That’s great.
>> 
>> I see that mergeAVCam can scan barcodes of various types for ios and mac as 
>> specified by mergAVCamBarcodeTypes(). I could potentially use these two 
>> libraries to scan any QR code.
>> 
>> On my Mac when I run "put mergAVCamBarcodeTypes()” in the message box, it 
>> returns an empty list. Does that mean that Livecode can’t scan any barcode 
>> type on my Mac? That seems bizarre. 
> 
> mergAVCam is not supported on mac since we have the camera control in the 
> engine.
> 
> Last I checked the AVFoundation barcode detection was not implemented in the 
> macOS version of that framework either but it seems it has been in Catalina 
> so I’ll raise this internally as a possibility.
> 
> Ideally we would extend the android barcode scanner widget to be cross 
> platform.
> 
> Cheers
> 
> Monte
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: a QR Code reader for iOS and Android?

2020-04-13 Thread Monte Goulding via use-livecode


> On 14 Apr 2020, at 8:30 am, kee nethery via use-livecode 
>  wrote:
> 
> I see that the Android Barcode Library can scan QRcodes. That’s great.
> 
> I see that mergeAVCam can scan barcodes of various types for ios and mac as 
> specified by mergAVCamBarcodeTypes(). I could potentially use these two 
> libraries to scan any QR code.
> 
> On my Mac when I run "put mergAVCamBarcodeTypes()” in the message box, it 
> returns an empty list. Does that mean that Livecode can’t scan any barcode 
> type on my Mac? That seems bizarre. 

mergAVCam is not supported on mac since we have the camera control in the 
engine.

Last I checked the AVFoundation barcode detection was not implemented in the 
macOS version of that framework either but it seems it has been in Catalina so 
I’ll raise this internally as a possibility.

Ideally we would extend the android barcode scanner widget to be cross platform.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: a QR Code reader for iOS and Android?

2020-04-13 Thread kee nethery via use-livecode
I see that the Android Barcode Library can scan QRcodes. That’s great.

I see that mergeAVCam can scan barcodes of various types for ios and mac as 
specified by mergAVCamBarcodeTypes(). I could potentially use these two 
libraries to scan any QR code.

On my Mac when I run "put mergAVCamBarcodeTypes()” in the message box, it 
returns an empty list. Does that mean that Livecode can’t scan any barcode type 
on my Mac? That seems bizarre. 

Kee

> On Apr 13, 2020, at 3:11 PM, kee nethery via use-livecode 
>  wrote:
> 
> From what I can tell there used to be a QRcode scanner in code that Monte 
> provided to LiveCode. I’m using the built in library to create a QR code and 
> as far as I know, that is working great. Now I need something to scan and 
> parse a QRcode. There was nothing I could find that did that in the sample 
> stacks.
> 
> Any ideas?
> 
> Kee Nethery
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


a QR Code reader for iOS and Android?

2020-04-13 Thread kee nethery via use-livecode
From what I can tell there used to be a QRcode scanner in code that Monte 
provided to LiveCode. I’m using the built in library to create a QR code and as 
far as I know, that is working great. Now I need something to scan and parse a 
QRcode. There was nothing I could find that did that in the sample stacks.

Any ideas?

Kee Nethery
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode