Zebra Mobile Devices Software Developer Kit Mobile Devices SDK: Getting Started in .NET

Mobile Devices SDK
Getting Started in .NET
Overview
The following simple steps describe what is required to begin developing a .NET application using the Mobile Devices SDK in Visual Studio 2005 or 2008. These are only the steps specific to incorporating the SDK; it is assumed the user has familiarity with the Visual Studio environment. In addition, sample .NET projects can be found in the Mobile Devices SDK installation.
Importing the Psion Teklogix Toolbox Items
\Samples\dotnet subdirectory of your
Note: This step only needs to be done once before you begin developing your first application.
Once the toolbox items are imported they will remain in the Visual Studio toolbox until you remove them.
1. Select the Choose Toolbox Items.... option from the Tools menu
2. In the .NET Framework Components tabulation, click
3. Browse to the Mobile Devices SDK on the targeted .Net Compact Framework version.
4. Select the now include items from the
5. Click OK to close the dialog box.
PsionTeklogixNet.dll file and click Open. The list of components should

Linking to the Mobile Devices SDK Library

1. After creating a new .NET project, select the Add Reference.... option from the Project
menu
2. In the Browse tabulation, use the navigation tools to browse to the Mobile Devices SDK
\DotNet2.0 or \DotNet3.5 subdirectory, depending on the targeted .Net Compact
Framework version.
3. Select the should now appear in the Solution Explorer window under References.
PsionTeklogixNet.dll file and click OK. The PsionTeklogixNet object
Browse…
\DotNet2.0 or \DotNet3.5 subdirectory, depending
PsionTeklogix namespace.
- 1 -
Mobile Devices SDK

Add the Common Library Source File

1. Select the Add Existing Item.... option from Project menu
2. In the dialog box that appears, use the navigation tools to browse to the Mobile Devices SDK installation directory, and from there to the subdirectory that corresponds to the Operating System the application will be deployed on. I.e.
ce 6.00
3. Change the selection in the Files of (*.exe;*.dll;*.ocx) to make the DLL files viewable.
4. Select the Solution Explorer window under the project name.
5. In the Solution Explorer window, right-click the Properties from the drop-down menu that appears.
6. In the Copy to Output Directory field of the Properties window, select Copy if newer.
You should now be ready to begin developing and deploying applications for your Psion Teklogix computers.
or \windowsmobile6.
type: or Objects of type: field to Executable Files
PtxSdkCommon.dll file and click Add. The DLL file should now appear in the
PtxSdkCommon.dll object and select
\windows ce 5.00, \windows
- 2 -
Loading...