资源简介
zxing集成所需包
代码片段和文件信息
/*
* Copyright (C) 2008 ZXing authors
*
* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.app.test.zxingproject.zxing.activity;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Rect;
import android.media.ThumbnailUtils;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.provider.MediaStore;
import android.text.TextUtils;
import android.text.method.QwertyKeyListener;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.view.animation.Animation;
import android.view.animation.TranslateAnimation;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
import com.app.test.zxingproject.R;
import com.app.test.zxingproject.zxing.camera.CameraManager;
import com.app.test.zxingproject.zxing.decode.DecodeThread;
import com.app.test.zxingproject.zxing.utils.BeepManager;
import com.app.test.zxingproject.zxing.utils.CaptureActivityHandler;
import com.app.test.zxingproject.zxing.utils.InactivityTimer;
import com.app.test.zxingproject.zxing.utils.Utils;
import com.google.zxing.BinaryBitmap;
import com.google.zxing.ChecksumException;
import com.google.zxing.DecodeHintType;
import com.google.zxing.FormatException;
import com.google.zxing.MultiFormatReader;
import com.google.zxing.NotFoundException;
import com.google.zxing.RGBLuminanceSource;
import com.google.zxing.Result;
import com.google.zxing.common.HybridBinarizer;
import com.google.zxing.qrcode.QRCodeReader;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Field;
import java.nio.charset.Charset;
import java.util.EnumMap;
import java.util.Hashtable;
import java.util.Map;
/**
* This activity opens the camera and does the actual scanning on a background
* thread. It draws a viewfinder to help the user place the barcode correctly
* shows feedback as the image processing is happening and then overlays the
* results when a scan is successful.
*
* @author dswitkin
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-07-31 16:33 zxing\
目录 0 2017-07-31 16:32 zxing\drawable\
文件 2336 2014-10-16 22:43 zxing\drawable\qr_code_bg.9.png
文件 6413 2014-10-16 22:43 zxing\drawable\scan_line.png
文件 17926 2014-10-16 22:43 zxing\drawable\shadow.png
目录 0 2017-07-31 16:33 zxing\layout\
文件 3668 2017-07-31 15:32 zxing\layout\activity_capture.xm
文件 1139 2017-07-31 09:46 zxing\layout\activity_main.xm
文件 1021 2014-10-16 22:43 zxing\layout\activity_result.xm
目录 0 2017-07-31 16:32 zxing\raw\
文件 6401 2014-10-16 22:43 zxing\raw\beep.ogg
目录 0 2017-07-31 16:31 zxing\zxing\
目录 0 2017-07-31 16:31 zxing\zxing\activity\
文件 16979 2017-07-31 15:30 zxing\zxing\activity\CaptureActivity.java
目录 0 2017-07-31 16:31 zxing\zxing\camera\
文件 4579 2017-05-22 14:29 zxing\zxing\camera\AutoFocusManager.java
文件 8848 2017-05-22 14:29 zxing\zxing\camera\CameraConfigurationManager.java
文件 7329 2017-05-22 14:29 zxing\zxing\camera\CameraManager.java
文件 1968 2017-05-22 14:29 zxing\zxing\camera\PreviewCallback.java
目录 0 2017-07-31 16:31 zxing\zxing\camera\open\
文件 2621 2017-05-22 14:29 zxing\zxing\camera\open\OpenCameraInterface.java
目录 0 2017-07-31 16:31 zxing\zxing\createqr\
文件 5980 2017-07-31 11:09 zxing\zxing\createqr\QRCodeUtil.java
目录 0 2017-07-31 16:31 zxing\zxing\decode\
文件 1848 2017-05-22 14:29 zxing\zxing\decode\DecodeFormatManager.java
文件 5515 2017-05-22 14:29 zxing\zxing\decode\DecodeHandler.java
文件 3045 2017-05-22 14:29 zxing\zxing\decode\DecodeThread.java
目录 0 2017-07-31 16:31 zxing\zxing\encoding\
文件 3876 2017-05-22 14:29 zxing\zxing\encoding\EncodingUtils.java
目录 0 2017-07-31 16:31 zxing\zxing\utils\
文件 4774 2017-05-22 14:30 zxing\zxing\utils\BeepManager.java
............此处省略3个文件信息
- 上一篇:nvidia显卡关闭空闲时降低频率
- 下一篇:GBT2260-2017_行政区划代码
评论
共有 条评论