Developers guide

Chapter 4: The .NET Library
Add the Common Library Source File
25 Psion Teklogix Mobile Devices SDK Developers Guide
4.3.3 Add the Common Library Source File
1. Open the Project > Add Existing Item... menu and select Add Existing Item....
2. In the dialog box that appears, use the navigation tools to browse to the Mobile
Devices SDK V3.1 installation directory, and from there to the subdirectory that corre-
sponds to the Operating System the application will be deployed on (Windows CE 5.00,
WindowsMobile5, or WindowsMobile6).
3. Browse to the subdirectory that corresponds to your development environment
(Studio2005 or Studio2008).
4. Change the selection in the Objects of type: field to Executable Files (*.exe;*.dll;*.ocx) to
make the DLL files viewable.
5. Select the PtxSdkCommon.dll file and click Add. The DLL file should now appear in
the Solution Explorer window under the project name.
6. In the Solution Explorer window, right-click the PtxSdkCommon.dll object and select
Properties from the drop-down menu that appears.
7. 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.
4.4 Wizards
The Mobile Devices SDK includes an application wizard which will generate sample .NET pro-
grams to demonstrate simple application functions and provide a jumping-off point for creating
your own more fully-featured applications.
Follow these steps to access the wizard:
1. Start a new project in Visual Studio.
2. In the Project Types frame, select Visual C# > Smart Device.
3. In the Templates window, select Psion Teklogix Device Project.
4. Fill in the project/solution name in the appropriate fields and click OK to start the applica-
tion wizard.
5. If given the option to Select an SDK, select Mobile Devices.
6. In the Select a Wizard box, select one of the following:
None - creates a simple “Hello World” program with a textbox and button.
Scanner - creates a simple bar code scanner application to initiate a scan and display the
result.
WWAN Phonebook - creates a simple phone book application that reads and displays the
entries on a device’s SIM card.
WWAN Voice - creates a simple phone application that can initiate and receive voice calls.
Note: The wizard feature is only available in Visual Studio 2008.