• 大小: 0.50M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2024-04-26
  • 语言: C#
  • 标签:

资源简介

Optical Reader Library provides a simple easy-to-integrate optical reader task for QR-code and barcode reading purposes, and also provides a customizable optical reader framework for assisting in implementing own optical reader systems.

资源截图

代码片段和文件信息

/*
 * Copyright (c) 2014 Microsoft Mobile. All rights reserved.
 *
 * Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation.
 * Other product and company names mentioned herein may be trademarks
 * or trade names of their respective owners.
 *
 * See the license text file for license information.
 */

using System;
using System.Diagnostics;
using System.Resources;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using OpticalReaderApp.Resources;
using Windows.Phone.Media.Capture;
using System.Linq;
using System.Threading;

namespace OpticalReaderApp
{
    public partial class App : Application
    {
        /// 
        /// Provides easy access to the root frame of the Phone Application.
        /// 

        /// The root frame of the Phone Application.
        public static PhoneApplicationframe Rootframe { get; private set; }

        /// 
        /// Constructor for the Application object.
        /// 

        public App()
        {
            // Global handler for uncaught exceptions.
            UnhandledException += Application_UnhandledException;

            // Standard XAML initialization
            InitializeComponent();

            // Phone-specific initialization
            InitializePhoneApplication();

            // Language display initialization
            InitializeLanguage();

            // Show graphics profiling information while debugging.
            if (Debugger.IsAttached)
            {
                // Display the current frame rate counters.
                Application.Current.Host.Settings.EnableframeRateCounter = true;

                // Show the areas of the app that are being redrawn in each frame.
                //Application.Current.Host.Settings.EnableRedrawRegions = true;

                // Enable non-production analysis visualization mode
                // which shows areas of a page that are handed off to GPU with a colored overlay.
                //Application.Current.Host.Settings.EnableCacheVisualization = true;

                // Prevent the screen from turning off while under the debugger by disabling
                // the application‘s idle detection.
                // Caution:- Use this under debug mode only. Application that disables user idle detection will continue to run
                // and consume battery power when the user is not using the phone.
                PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
            }

        }

        // Code to execute when the application is launching (eg from Start)
        // This code will not execute when the application is reactivated
        private void Application_Launching(object sender LaunchingEventArgs e)
        {
        }

        // Code to execute when the application is activated (brought to foreground)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-11-28 13:30  optical-reader-master\
     目录           0  2014-11-28 13:30  optical-reader-master\.nuget\
     文件         164  2014-11-28 13:30  optical-reader-master\.nuget\NuGet.Config
     文件        2244  2014-11-28 13:30  optical-reader-master\Licence.txt
     文件        2531  2014-11-28 13:30  optical-reader-master\OpticalReader.sln
     目录           0  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\
     文件        1266  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\App.xaml
     文件        9451  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\App.xaml.cs
     目录           0  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Assets\
     文件        9042  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Assets\AlignmentGrid.png
     文件      202398  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Assets\ApplicationIcon.png
     目录           0  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Assets\Icons\
     文件         717  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Assets\Icons\search.png
     目录           0  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Assets\Tiles\
     文件      205443  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Assets\Tiles\iconic.png
     文件        1882  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\CustomEnhancer.cs
     文件         681  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\CustomProcessor.cs
     文件         362  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\LocalizedStrings.cs
     文件        6317  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\MainPage.xaml
     文件        4558  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\MainPage.xaml.cs
     文件        6778  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\OpticalReaderApp.csproj
     目录           0  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Properties\
     文件         201  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Properties\AppManifest.xml
     文件        1447  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Properties\AssemblyInfo.cs
     文件        1873  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Properties\WMAppManifest.xml
     目录           0  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Resources\
     文件        4382  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Resources\AppResources.Designer.cs
     文件        6445  2014-11-28 13:30  optical-reader-master\OpticalReaderApp\Resources\AppResources.resx
     目录           0  2014-11-28 13:30  optical-reader-master\OpticalReaderLib\
     文件        2073  2014-11-28 13:30  optical-reader-master\OpticalReaderLib\BasicEnhancer.cs
     文件        3408  2014-11-28 13:30  optical-reader-master\OpticalReaderLib\BasicNormalizer.cs
............此处省略31个文件信息

评论

共有 条评论