[ANN] mergExt

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

[ANN] mergExt

Post by monte » Fri Feb 17, 2012 1:21 am

Hi LiveCoders

mergZXing is evolving into a suite of externals called mergExt. A new iOS external mergTweet (use the iOS 5 Tweet dialog) is available in addition to the four that came with a purchase of mergZXing.

mergZXing also now has a new function to scan an image file to see if there's a barcode so you can now pull images from the library, export them and scan.

A new website mergext.com will provide a centralised location for updates and user forum/support.

mergZXing is still listed as a product for sale in the RunRev marketplace until we can get it changed over to mergExt. If you purchase it there (either as an individual product or in the simulcast bundle) then you will receive an account on the mergExt website valid for three months of access to updates within 48 hours. All existing users should have received a registration url by now so if you haven't please email me.

Regards,

Monte Goulding
M E R Goulding - Software development services
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

askari
Posts: 19
Joined: Fri Jul 01, 2011 11:45 pm

Re: [ANN] mergExt

Post by askari » Mon Apr 02, 2012 1:10 pm

Monte,

I can't get the pBarcode to return the text after I scan a qr code. My implementation is like;

on mergZXingDidScanResult pBarcode
  answer pBarcode with "OK" or "Cancel"
put pBarcode&cr before field "barCodeText" of card "info"
end mergZXingDidScanResult

I also noticed I only get the ok option with the answer dialog. How do I put bBarcode into a field?

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: [ANN] mergExt

Post by monte » Mon Apr 02, 2012 9:43 pm

I'm looking into it. I guess there could be an issue with the answer dialog and external message posting.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: [ANN] mergExt

Post by Dixie » Mon Apr 02, 2012 10:09 pm

askari...

Your problem might be down to your use of the 'answer' command... you have used it in this fashion..
answer pBarcode with "OK" or "Cancel"

The iOS notes (page 18) would like you to use it as follows...
answer message [ with button and … ] [ titled title ]
using 'and' not 'or'....

I have had no problem using the 'answer' command with the 'mergZXingDidScanResult' command

be well

Dixie

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: [ANN] mergExt

Post by monte » Tue Apr 03, 2012 12:57 am

I can't replicate the issue so I'm not really sure what's going on yet. The answer command on iOS does seem to work with or. I haven't tested using and but I suspect it's just a release notes bug. I think I'll need to see a stack that shows the issue. Just to make sure, the mergZXingDidScanResult callback is only sent when using the control, not the mergZXingGetBarcode function. I can't help wondering if you have something like "answer mergZXingGetBarcode()" in your script somewhere??

Cheers

Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: [ANN] mergExt

Post by monte » Tue Apr 03, 2012 1:22 am

Interesting you can do the following:
answer "something" with "Hello" or "World" and "Cancel"

Don't know when that was introduced into the engine.

Cheers

Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Jellicle
Posts: 453
Joined: Thu Feb 24, 2011 11:07 am

Re: [ANN] mergExt

Post by Jellicle » Tue Apr 03, 2012 7:55 am

This works too:

answer "something" with "Hello" and "World" and "Fred" or "Mary" or "Tegan" or "Cancel"

Weird.

Gerry

EDIT: What was weird to me was that I could have so many options for buttons in the dialog...not that I could use "and" or "or' :) I knew about the latter, but not the former.
14" MacBook Pro
Former LiveCode developer.
Now recovering.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: [ANN] mergExt

Post by monte » Wed Apr 04, 2012 1:51 pm

Iteresting answer dialog syntax aside after seeing the stack off list it seems the issue stemmed from a misunderstanding of which control gets sent the messages. The stack had the button that created the barcode reader control trying to read the message and also another older test script handling the message at card level. I actually quite liked the idea of being able to script the use of the control from one button so from the next version that's what we will have. The control calling mergZXingControlCreate will get sent any callbacks.

Cheers

Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: [ANN] mergExt

Post by jessamy99 » Sun Nov 03, 2013 8:07 pm

Dear Monte, or anyone else involved in barcode discussions,

I have been offered a job which involves scanning barcodes for information.
I want to pass it on to anyone who knows how to do this.
Let me know if you are interested.
The letter explains, see below.

Please get back to me as soon as possible if you think you can do this and I will put you in touch. :)

With best wishes,
Jessamy.

****************************************************************************************
I now have a proposition to put to you, regarding your aps. We are looking for someone to go in partnership with, someone who is technically able to create an ap, for our data on GM foods in UK supermarkets which is presently held on an Excel spreadsheet.

Basically, we want everyone to have a phone app which just means that they can just swipe the barcode of a food on a supermarket shelf and learn whether or not in contains GM ingredients. We have all the information, but we don't know how to create such an ap.
Would you be interested in being our partner in this enterprise? Or if not, can you direct us to someone who might?

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: [ANN] mergExt

Post by Dixie » Sun Nov 03, 2013 9:19 pm

Jessamy..

Mmm... since it is in the UK... could you email me the details at john[at]ihouse.on-rev.com...

Dixie

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: [ANN] mergExt

Post by jessamy99 » Sun Nov 03, 2013 11:33 pm

Dear Dixie,
I will forward it to you straight away.
Hoping the [at] means @

Best wishes,
Jessamy.

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: [ANN] mergExt

Post by Dixie » Mon Nov 04, 2013 12:05 am

Jessamy,

Yes using [at] is supposed to confuse things...:-) john@ihouse.on-rev.com

Dixie

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: [ANN] mergExt

Post by jessamy99 » Mon Nov 04, 2013 12:18 am

Dear Dixie,

Thankyou for clearing hat up!
I have let John know that you will be emailing him and he is looking forward to hearing from you.
I do hope it works out for you ( you are so helpful in this forum!) and for him.

Very best wishes,
Jessamy.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: [ANN] mergExt

Post by monte » Mon Nov 04, 2013 12:57 am

Whoever gets this job might be interested to know that an android version of mergZXing is in development.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: [ANN] mergExt

Post by dave.kilroy » Mon Nov 04, 2013 1:28 am

Thanks Monte

Yep I noticed that you included a version of mergeZXing in your mergAndroid pack - I'm likely to be doing a barcode app for windows in the next couple of weeks which is likely to expand to iOS and Android afterwards - so I'm hoping you'll have an Android version by the New Year
"...this is not the code you are looking for..."

Post Reply