Use Air to develop QR code scanning tools and air scanning tools

Source: Internet
Author: User

Use Air to develop QR code scanning tools and air scanning tools

This section briefly introduces the core points of implementation and several issues that need attention:
Use open source Class Library: Zxing, also used this: http://code.google.com/p/zxing/
As: https://github.com/zxing/zxing/tree/c1df162b95e07928afbd4830798cc1408af1ac67/actionscript.

1. Camera development permission is required in app. xml:
<Uses-permission android: name = "android. permission. CAMERA"/>

2. The problem of rotating the video captured by the camera:
Note This section in the api documentation: the Camera instance captures videos in a horizontal aspect ratio. On a device (such as a mobile phone) that can change the screen direction, the Video object associated with the camera only displays the vertical Video in the aspect ratio. Therefore, mobile apps should use landscape orientation when displaying videos and should not rotate automatically.

3. the decode BitmapData object is very difficult:
The apk In the debug version is very card, and it is good on the real‑version, but there are still some cards. We had to slightly reduce the size of some images or look for other better ways to optimize them.


Reference page: http://www.yangsongmao.com/index.php? M = content & c = index & a = show & catid = 14 & id = 117

Http://www.shirne.com/cate-45/204.html

The following is a screenshot of a mobile phone:



Is there any built-in scanner for ipad air, such as the QR code scanner?

Ipad air does not have its own scanner and QR code scanner. You need to download software from the App Store, for example, "QR code scanning, bar code price comparison, qq and other application software can be achieved!

How to Use iPad to scan QR code

In the appstore, download the QR code recognition application, such as "pay for Pat. However, the auto focus of ipad2 cameras is not as good as that of iPhone 4.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.