Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Implementing QR Code Reader to Flash AIR Android App?

New Here ,
Sep 14, 2011 Sep 14, 2011

Hi everyone!
I am developing an Android application using AIR on Adobe Flash CS5.

I am still a beginner to actionscript 3.0 as I am more used to actionscript 2.0

I am currently looking for a way to implement a QR code reader to my app which works in conjunction with the hardware camera of the android device.

I am not entirely sure if AIR is capable of doing this, but I have found the following website by luck:
http://www.remotesynthesis.com/post.cfm/adding-a-qr-code-reader-in-flex-on-android

The writer seem to have accomplished a QR decoder application via Flex.

I am not too sure what Flex really is neither, all that I know is that Flex is a development kit for making mobile/desktop appilcation.

But there seems to be some sort of relation between AIR and Flex and there is even a selectable FlexComponentBase component in Flash CS5.

Now, is it possible to use the ZXing Library in my AIR project? If so how can I go about acheving this?

Thank you very much in advance!

TOPICS
Development
6.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 19, 2011 Sep 19, 2011

This site might be of help: http://blog.jactionscripters.com/2009/05/23/introduction-of-qr-code-reader-library/. It has a .swc library that implements reading of QR codes, the source being a Video or any Sprite. You could attach the device's camera to a Video object.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 13, 2013 Feb 13, 2013

Loosely compared with Java --

Adobe AIR or Flash in Browser is like JVM that can execute some code.

Actionscript X.X is like the Java language itself

Flex is a component framework like AWT or SWING which can give you readymade UI components that you can re-use.

Flash CS or Flex Builder can be compared to intelliJ or Eclipse [i.e. IDEs for developing applications]

Having said that, if you are still looking for android QR reader solution:

I have written ANE version for ZBar that works on Android and iOS over same ActionScript API. It works similar to CameraUI i.e. I open Native Activity/ViewController that scans and sends the data to AIR app as an async event.

I have developed this for one of my projects. If anyone is interested revert back on this thread.

ANE can be compared to JNI in Java world

Regards,

sbhave

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 16, 2013 Apr 16, 2013

can u send them to me

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 17, 2013 Apr 17, 2013
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2013 Apr 18, 2013
LATEST

This is fantastic. Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines