QR codes - Android AND iOS.

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I post this here since I don't want to post the same topic in both Android and iOS forums..

    Have anyone experience with using QR codes in their apps?

    Example of the functionality I want:

    - Someone see a poster for a concert. The poster has a QR code.
    - The person scas the code.
    - Your app installs / starts.
    - Your app downloads the concertinfo from your server.

    From google-searches I find that this should be possible in Android using intents, and Fusion supports intents so I suppose Android is all good. I also find that iOS supports this, but I don't know if that bit is supported by Fusion.

    Have anyone successfully used QR-codes for iOS or Android in this way?

  • Hm, I can't see how those examples may help me. Doesn't the QR Scanner object only scan QR codes? That's not what I'm after. Like I tried to explain above, people will scan using their own device with any scanner app, and my app should get installed and download content based on what has been scanned by that app. That's not what those examples are showing, or am I missing something here?

  • this basic example allow you to scan, so you can do is to scan any type and see if the object is capable of bring any information from those bar code, eg: I just scan a QR (directly from screen of my laptop and it worked) also test all the below type and seems to be doing OK.
    The current object using zbar libs implements decoding for QR, EAN-13, UPC-A, UPC-E, EAN-8, Code 128 and Code 39.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • For a standard case, the QR Code contains an alphanumeric datatype with an URL inside. The scanner app type will provide you this
    metadata. For example on Android, the easiest is to use QR/Bar Scan Code object as suggested by Fernando and use string result to open
    the URL. If you expect any other app to scan the code, you can use intent.
    For example Intent "com.google.zxing.client.android.SCAN" with extra string "SCAN_MODE" = "QR_CODE_MODE" if you do not want to scan
    anything else as QRCode. extra strings "SCAN_RESULT" and "SCAN_RESULT_FORMAT" will give you the result and you can check the expected
    format.
    It seems that you want that your app opens and shows infos when any scanner app is used. This way, I do not know how to do.

    Damien

  • Thanks Conceptgame. Yeah, it's the latter I want. I was hoping this was an easy and common thing to do, but it seems not. I thought that was the main purpose with QR codes, but I guess I was wrong. Anyway, I read that QR codes is only used by a minority of mobile owners (10-20% have used it at least once, about 5% on regular basis) and never got the popularity it was meant to get, so I suppose I can just as well not include them in my project, at least for now.

  • Sorry to bump this thread.

    But I'm trying to use the QR/Bar Scan Object. I just opened the Android example, compiled the APK and I cant read the codebar.
    I dont want use to read QR Code, I'm trying to read codebars without success.

    Somebody knows how to do it?

    Please login to see this link.

  • Just take a look at Wikipedia for linear barcodes. You will see that there are more than those supported by the extension.
    If it is one of the types mentionned earlier in this thread, it should work: EAN-13, UPC-A, UPC-E, EAN-8, Code 128 and Code 39

    Damien

  • There are a lot of barcode types. Which one do you want to read? They are more or less supported depending of their type.

    thank you again friend.

    I dont know how to Find out which type of barcode is.....I attach the image here ...maybe can you help me?

    Please login to see this attachment.

    Best regards

    Please login to see this link.

  • It is Interleaved 2 of 5. It is not in the list of Fernando although zbar library should support it. I cannot remember if this extension has its code visible. In any case I think you can ask directly Fernando for this.

    Damien

  • mm it should be read by zbar I think

    according the page in Git

    Quote

    ZBar Bar Code Reader is an open source software suite for reading bar
    codes from various sources, such as video streams, image files and raw
    intensity sensors. It supports EAN-13/UPC-A, UPC-E, EAN-8, Code 128,
    Code 39, Codabar, Interleaved 2 of 5 and QR Code.

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Would anyone kindly publish an example of qrcode scanning for ios for xcode 10?
    I've used also ZBarSDK1.3 for x64 but nothing to do! :(
    Among other things I can not find libiconv.dylib to add to the frameworks.
    Please login to see this attachment.Please login to see this attachment.
    Thanks a lot!

    Game Music Composer

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!