• 大小: 26KB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-05-08
  • 语言: Java
  • 标签: xamarin  

资源简介

xamarin android中使用ZXing.Net.Mobile扫描二维码,原文地址:http://blog.csdn.net/kebi007/article/details/74620978

资源截图

代码片段和文件信息

using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using ZXing.Mobile;
namespace ZxingMobile
{
    [Activity(Label = “ZxingMobile“ MainLauncher = true Icon = “@drawable/icon“)]
    public class MainActivity : Activity
    {
        int count = 1;
        private MobileBarcodeScanner scanner;
        private TextView tv_url;
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Main);

            //初始化扫描仪不然会报错空引用
            MobileBarcodeScanner.Initialize(Application);

            Button btn_scanner = FindViewById

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        620  2017-07-06 23:39  ZxingMobile\Assets\AboutAssets.txt

     文件        160  2017-07-06 23:39  ZxingMobile\GettingStarted.Xamarin

     文件       2250  2017-07-07 00:42  ZxingMobile\MainActivity.cs

     文件       1003  2017-07-07 00:58  ZxingMobile\obj\Debug\android\zxingmobile\zxingmobile\R.java

     文件      24264  2017-07-07 00:58  ZxingMobile\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        120  2017-07-07 00:58  ZxingMobile\obj\Debug\libraryimports.cache

     文件       1401  2017-07-07 00:58  ZxingMobile\obj\Debug\libraryprojectimports.cache

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\R.cs.flag

     文件       4147  2017-07-07 00:58  ZxingMobile\obj\Debug\res\drawable\icon.png

     文件        512  2017-07-07 00:58  ZxingMobile\obj\Debug\res\layout\main.xml

     文件        126  2017-07-07 00:58  ZxingMobile\obj\Debug\res\values\strings.xml

     文件       1165  2017-07-07 00:58  ZxingMobile\obj\Debug\sdks.cache

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\__library_projects__\FastAndroidCamera.stamp

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\__library_projects__\Java.Interop.stamp

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\__library_projects__\System.Runtime.stamp

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\__library_projects__\Xamarin.Android.Support.v4.stamp

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\__library_projects__\ZXing.Net.Mobile.Core.stamp

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\__library_projects__\zxing.portable.stamp

     文件        397  2017-04-14 19:21  ZxingMobile\obj\Debug\__library_projects__\ZXingNetMobile\library_project_imports\res\layout\zxingscanneractivitylayout.xml

     文件        145  2017-04-14 19:21  ZxingMobile\obj\Debug\__library_projects__\ZXingNetMobile\library_project_imports\res\layout\zxingscannerfragmentlayout.xml

     文件        156  2017-04-14 19:21  ZxingMobile\obj\Debug\__library_projects__\ZXingNetMobile\library_project_imports\__res_name_case_map.txt

     文件          0  2017-07-07 00:58  ZxingMobile\obj\Debug\__library_projects__\ZXingNetMobile.stamp

     文件        333  2017-07-06 23:42  ZxingMobile\packages.config

     文件        311  2017-07-06 23:39  ZxingMobile\Properties\AndroidManifest.xml

     文件       1092  2017-07-06 23:39  ZxingMobile\Properties\AssemblyInfo.cs

     文件       1736  2017-07-06 23:39  ZxingMobile\Resources\AboutResources.txt

     文件       4147  2017-07-06 23:39  ZxingMobile\Resources\drawable\Icon.png

............此处省略50个文件信息

评论

共有 条评论