資源簡介
android 二維碼掃描頁面Fragment 的實現,使用非常簡單,把項目導入自己的studio中, MipcaFragmentCapture mipcaFragmentCapture = new MipcaFragmentCapture();mipcaFragmentCapture.setIndicator(indicator);
直接new 出來這個Fragment 就可以使用,第二句代碼是如果使用了Viewpager,并且ViewPager使用了開源的ViewPagerindicator,這個時候一定要設置這個指針的view,不設置掃描的坐標有問題。

代碼片段和文件信息
/**
?*?Automatically?generated?file.?DO?NOT?MODIFY
?*/
package?com.example.library_qrcode.test;
public?final?class?BuildConfig?{
??public?static?final?boolean?DEBUG?=?Boolean.parseBoolean(“true“);
??public?static?final?String?APPLICATION_ID?=?“com.example.library_qrcode.test“;
??public?static?final?String?BUILD_TYPE?=?“debug“;
??public?static?final?String?FLAVOR?=?““;
??public?static?final?int?VERSION_CODE?=?1;
??public?static?final?String?VERSION_NAME?=?“1.0“;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-09-27?09:29??library-qrcode\
?????文件???????????8??2016-09-02?17:30??library-qrcode\.gitignore
?????目錄???????????0??2016-09-27?09:29??library-qrcode\build\
?????文件?????????634??2016-09-12?16:34??library-qrcode\build.gradle
?????目錄???????????0??2016-09-27?09:28??library-qrcode\build\generated\
?????目錄???????????0??2016-09-23?18:34??library-qrcode\build\generated\assets\
?????目錄???????????0??2016-09-27?09:28??library-qrcode\build\generated\assets\shaders\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\assets\shaders\androidTest\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\assets\shaders\androidTest\debug\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\assets\shaders\debug\
?????目錄???????????0??2016-09-23?18:34??library-qrcode\build\generated\assets\shaders\release\
?????目錄???????????0??2016-09-23?18:34??library-qrcode\build\generated\res\
?????目錄???????????0??2016-09-27?09:28??library-qrcode\build\generated\res\rs\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\res\rs\androidTest\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\res\rs\androidTest\debug\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\res\rs\debug\
?????目錄???????????0??2016-09-23?18:34??library-qrcode\build\generated\res\rs\release\
?????目錄???????????0??2016-09-27?09:28??library-qrcode\build\generated\source\
?????目錄???????????0??2016-09-27?09:28??library-qrcode\build\generated\source\aidl\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\aidl\androidTest\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\aidl\androidTest\debug\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\aidl\debug\
?????目錄???????????0??2016-09-23?18:34??library-qrcode\build\generated\source\aidl\release\
?????目錄???????????0??2016-09-27?09:28??library-qrcode\build\generated\source\buildConfig\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\buildConfig\androidTest\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\buildConfig\androidTest\debug\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\buildConfig\androidTest\debug\com\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\buildConfig\androidTest\debug\com\example\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\buildConfig\androidTest\debug\com\example\library_qrcode\
?????目錄???????????0??2016-09-23?18:35??library-qrcode\build\generated\source\buildConfig\androidTest\debug\com\example\library_qrcode\test\
?????文件?????????469??2016-09-23?18:35??library-qrcode\build\generated\source\buildConfig\androidTest\debug\com\example\library_qrcode\test\BuildConfig.java
............此處省略3088個文件信息
評論
共有 條評論