Symbol 開發初體驗步驟:
1. 下載Symbol 的 Developer Guide 手冊來精讀
2. Visual Studio 2005 軟件安裝
3. Symbol 開發包 Smdk1.07版。地址:https://docs.symbol.com/downloads/SMDK-M-1.07.03.exe
4. Microsoft ActiveSync 4.5 中文版安裝,來源自己上網搜尋
5. Windows Mobile 5.0 SDK for PocketPC安裝,地址如附件2
6. 參照 Developer Guide 手冊第59頁案例在 VS2005 C#中編寫 “HelloScan”,VS2005 C#編程中注意如下事項:
a) 我是用VS2005自帶的虛擬器 Windows Mobile 5.0 Pocket PC Emulator來做測試器的
b) “引用”是要添加 symbol 及 symbol.barcode 兩個 DLL,只要安裝好Symbol 開發包 Smdk,就有該DLL。缺省位置:C:/Program Files/Symbol Mobility Developer Kit for .NET/v1.7/SDK/Smart Devices
c) 因爲在虛擬器中,所以沒有掃描設備,故涉及到MyReader要註釋掉(如:MyReader = new Symbol.Barcode.Reader();),否則會提示“NullReferenceException 试图在代码中引用不存在的对象时”
d) 畢竟是第一個程序,只要有個messagebox就可以了。後續再慢慢深入
e) 部署到虛擬器Windows Mobile 5.0 Pocket PC Emulator來運行后,虛擬器可以不必關閉,以便加快下一次調用虛擬器的速度
附件1:
Developer Guide for Symbol Devices
Usage Requirements
Microsoft Visual Studio.NET 2003 or Visual Studio 2005 must be installed on the development PC before installing SMDK for .NET. If
either version of Visual Studio is not found, an error is displayed and the installation is aborted.
Install Requirements for Visual Studio.NET 2003:
• Microsoft® Windows 2000 or Microsoft® Windows XP
• Microsoft® Visual Studio.NET 2003
• Microsoft® Visual Studio .NET 2003 Add-on Pack
• Microsoft ActiveSync 3.7
Install Requirements for Visual Studio 2005:
• Microsoft® Windows 2000 or Microsoft® Windows XP
• Microsoft® Visual Studio 2005
• Microsoft® Windows Mobile 5.0 SDK for PocketPC
• Microsoft ActiveSync 4.0
The installed version of Visual Studio 2003/2005 must support Mobile device development. Express versions
of Visual Studio do not support Mobile device development.
How to Use SMDK for .NET
Once SMDK for .NET is installed, creating .NET Compact Framework applications is fairly simple. Follow the steps below to create a
new Symbol enabled .NET application.
1. Create a new "Smart Device Application" project that uses either the Microsoft Visual Basic.NET or Microsoft Visual C#
languages.
2. From the Project pull-down menu select Add Reference... .
3. From the list of .NET assemblies, select the "Symbol" assembly as well as the particular SMDK assembly that matches the
functionality of the application being developed. For example, for bar code scanning applications select Symbol and
Symbol.Barcode.
4. Begin programming the application. Refer to the SMDK API documentation for information on the methods and properties
of each class.
Adding the BarCodeReader Design Time Control to the Toolbox
Design Time Controls, feature of the SMDK for .NET, can be dragged onto a form.
When installed for use with Visual Studio 2005, SMDK v1.3 for .NET automatically installs three design time controls (Barcode,
MagStripe and Imaging) to the Toolbox. There is no manual step required.
Only the BarcodeReader design time control is available for use with Visual Studio .NET 2003. Before the BarcodeReader Design
Time Control can be used, it must be added to the Visual Studio. NET 2003 toolbox.
To add BarcodeReader Design Time Control to the toolbox:
1. Activate the Toolbox window (View - Toolbox) from Visual Studio .NET.
2. Within the Toolbox, right click the tab in which to put the BarcodeReader control and select Add/Remove Items... from the
pop-up menu.
3. In the Customize Toolbox dialog, select the .NET Framework Components tab.
4. Click Browse to locate the Symbol.Barcode.Design.dll. This DLL can be found at the following location:
/Program Files/Microsoft Visual Studio.NET 2003/CompactFrameworkSDK/v1.0.5000/Windows CE/Designer/.
5. Open Symbol.BarcodeDesign.dll. The BarcodeReader control appears in the Customize Toolbox dialog.
6. Click OK to close the dialog.
附件2:
Windows Mobile 5.0 开发包:
(包括工具和学习资源):
http://download.microsoft.com/download/6/0/8/608530c5-7e9a-4032-bf18-92d90b5f4ab4/WM Developer Resource Kit.msi
单独下载:
SDK for Pocket PC: (174M)
http://download.microsoft.com/download/d/2/e/d2e43e33-53b0-45b6-ba70-fe6fdc4aa5bb/Windows Mobile 5.0 Pocket PC SDK.msi
SDK for Smartphone: (77.3M)
http://download.microsoft.com/download/8/8/9/889268f4-dcd2-4f1b-844b-3a43bb52ea7b/Windows Mobile 5.0 Smartphone SDK.msi
Pocket PC简体中文仿真: (99.5M)
http://download.microsoft.com/download/b/7/5/b7566ed3-6940-4541-8cf2-3e0fc1fafbc4/Windows Mobile 5.0 Emulator Images for Pocket PC - CHS.msi
Smartphone简体中文仿真: (37.0M)
http://download.microsoft.com/download/f/b/e/fbe92946-c14c-48e0-ae8d-efd1804e6982/Windows Mobile 5.0 Emulator Images for Smartphone - CHS.msi
Microsoft® Windows® CE 5.0 Device Emulator: (3.59M)
http://download.microsoft.com/download/7/4/4/744a8606-9c52-4d59-8abb-8ca71ab5f2ab/setup.exe
ActiveSync 4.1:
http://download.microsoft.com/download/3/0/b/30b7a21c-6931-49c3-9f8c-d166e0120c92/setup.exe
附件3:Symbol 设备的操作系统
This software has been approved for use with the following devices:
MK2000 CE 4.2
MK1100 CE 4.2
MC3000 CE 4.2
MC9000 CE 4.2
MC9000 CE 4.2 RFID
MC1000 CE 4.2
MC3000 CE 5.0
PPT8800 CE 4.2
MC9000 CE 5.0
MC9090 CE 5.0
MC70 WM 5.0
MC50 WM 2003
MC9000 WM 2003
MC9000 WM 2003 RFID
MC9000 WM 5.0
PPT8800 WM 2003
PDT8100x WM 2003
PPT2800 WM 2003
PDT8000 WM 2003
VC5090 CE 5.0
WT40X0 CE 5.0
分享到:
相关推荐
Web Worker使用初体验 序列帧&一镜到底H5开发实现分析 11个教程中不常被提及JavaScript小技巧 JavaScript中十种一步拷贝数组的方法 URLSearchParams初体验 关于history的一点心得 工作用Js方法总结 前端H5 Video常见...
由Adobe Systems(原Macromedia公司)开发,SWF 文件主要用于展示交互式内容、动画、应用程序以及在线富媒体体验。SWF 文件在20世纪90年代末到21世纪初的互联网发展中扮演了重要角色,是当时网页动画和游戏的主要...
1. **创建库资源**:首先,在Flash的库(Library)中创建图片符号(Symbol),这些图片将会作为轮播中的帧。 2. **时间轴控制**:在主时间轴上设置帧序列,每个帧对应一张图片。为了实现无限循环,需要合理安排帧...
这意味着它注重代码的可读性和开发者的体验。在Ruby中,你可以用更少的代码实现更多的功能,减少了冗余和提高了开发效率。 1. **变量与数据类型**:Ruby支持四种基本变量:局部变量、实例变量、类变量和全局变量。...
PDF417条形码是二维条码的一种,它由美国Symbol Technologies公司在1990年代初开发。这种编码方式因其高效的数据存储能力和强大的错误纠正能力,在IT行业中尤其是在物流、仓储、身份证件和文档管理等领域得到了广泛...
1. **Flash基本概念**:Flash是由Adobe公司开发的一款矢量图形编辑和动画创作软件。它允许用户通过时间轴控制帧和图层,创建出流畅的动画效果。Flash支持ActionScript编程语言,可以实现交互性与功能性。 2. **时间...
1. **变量与数据类型**:JavaScript支持var、let和const三种声明变量的方式,以及基本数据类型(Number、String、Boolean、Null、Undefined、Symbol)和复杂数据类型(Object)。 2. **函数与作用域**:理解函数的...
JavaScript是一种广泛用于Web开发的脚本语言,它允许在浏览器端执行,为用户提供动态交互体验。 首先,JavaScript的基本概念是理解其核心知识点的关键。JavaScript语法基于ECMAScript规范,最新版本为ECMAScript ...
它允许开发者创建交互式的网页,提供丰富的用户界面,并且能够与服务器进行数据交换,极大地提升了用户体验。 标题"aprendendo-mais-de-[removed]我会从javascript写下一些东西进行研究"表明,这个压缩包文件可能...