Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 11 of 17

CN3 Series Mobile Computer User's Manual for Windows Mobile 5.0: Chapter 3 - Developing and Installing Applications, pages 81 to 88

Pages 81 to 88 of 142, from CN3 Series Mobile Computer User's Manual for Windows Mobile 5.0

The original document is the PDF (4.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec CN3

Page 81

3 Developing and Installing Applications

Use this chapter to understand the guidelines for developing applications for use on the CN3. This chapter contains these sections: •

Developing Applications for the CN3

•

Installing Applications on the CN3

•

Freeing Up Virtual Memory for Applications

•

Launching An Application Automatically

•

Upgrading the System Software

69

Page 82

Chapter 3, Developing and Installing Applications

Developing Applications for the CN3 The CN3 runs applications programmed in Microsoft Visual Studio 2005. You can also use Microsoft eMbedded Visual C++ 4.0 to program applications, but some features may not be available. Use this section to understand the hardware and software you need to develop a new application for the computer. Use the Intermec resource kits to develop new applications to run on the CN3. The Intermec resource kits are a library of C++ and .NET components grouped by functionality that you can use to create applications for the computer. The resource kits are part of the Intermec Developer Library (IDL), and can be downloaded from the Intermec website at www.intermec.com/idl. You need the following hardware and software components to use the resource kits: •

Pentium desktop, 400 MHz or higher

•

Windows 2000 (Service Pack 2 or later) or Windows XP (Home, Professional, or Server)

•

For native and managed development, Microsoft Visual Studio 2005

•

128 MB RAM (196 MB recommended)

•

360 MB hard drive space for minimum installation (720 MB for complete)

•

CD-ROM drive compatible with multimedia desktop specification

•

VGA or higher-resolution monitor (Super VGA recommended)

•

Microsoft Mouse or compatible pointing device

Installing Applications on the CN3 There are several ways you can install applications on your mobile computer:

70

•

You can package your application as a cabinet (.cab) file.

•

If you have a simple application, you may only need to deliver the .exe file. CN3 Series Mobile Computer User’s Manual for Windows Mobile 5.0

Page 83

Chapter 3, Developing and Installing Applications

•

You can copy a directory structure that contains the application, supporting files, DLLs, images, and data files.

Intermec recommends using .cab files to install your applications. The mobile computer uses standard Windows Mobile .cab files and will install third-party .cab files. You can have your .cab files place your application in any of these memory locations on the mobile computer: •

The Object Store or the Flash File Store. The Object Store is a DiskOnChip® flash that looks like a disk. The Flash File Store is an area of storage which is embedded in a section of the system flash memory. This storage is not erased during a reset, although it might be erased during the reflashing process. In addition to storing applications and data files, you have the option to store persistent registry information to the Flash File Store region.

•

The optional miniSD card. If you are using a miniSD card, this should be the primary location to place application installation files. The miniSD card creates the Storage Card folder on the CN3.

•

The non-volatile Flash File Store region of the storage. Use the small non-volatile Flash File Store region to hold .cab files that rebuild the system at clean boot or install applications from a .cab file into the Flash File Store so that they are “ready-to-run” when you perform clean boot. Since the flash in the system has a limited number of write cycles, do not use the Flash File Store for excessive writing.

Files copied to any of these locations are safe when you cold boot the computer as long as the AutoRun system is installed in the appropriate location. You can find information about this system in the Intermec Developer’s Library (IDL) Resource Kit Developer’s Guide which is available from www.intermec.com/idl. When you copy a .cab file to the \CabFiles folder, the folder automatically extracts that .cab file on every cold boot. There are several ways you can install files and applications on the computer: •

SmartSystems Foundation

•

ActiveSync

• miniSD card

CN3 Series Mobile Computer User’s Manual for Windows Mobile 5.0

71

Page 84

Chapter 3, Developing and Installing Applications

•

FTP server

•

Wavelink Avalanche

The following sections explain how to use each one of these processes to install your application on the computer.

Installing Applications Using SmartSystems Foundation You can use the SmartSystems console to drag-and-drop Intermec applications onto your mobile computers. The computer ships with the SmartSystems client, which means it is SmartSystems-enabled. The console is part of SmartSystems Foundation. For more information about SmartSystems Foundation, go to the Intermec website at www.intermec.com/SmartSystems. For help using the console, see the online help. To use SmartSystems console to install an application 1 Download your application file from the Intermec website and unzip it on your desktop PC. 2 Double-click the application file to install it. The application file should appear in the Software Vault. 3 From the SmartSystems console in the Software Vault, drag-anddrop the application onto each mobile computer in your network or drop the application on a group of mobile computers contained in a folder.

Installing Applications Using Microsoft ActiveSync You can use Microsoft ActiveSync to establish a connection between your PC and the computer. ActiveSync transfers files, synchronizes files, performs remote debugging, and other device management activities. For more information on installing and using ActiveSync, see “Connecting to a PC” on page 34. You can have a serial or USB ActiveSync connection to the mobile computer. When you only have a few computers to update, you can copy files using Windows Explorer on a PC. This procedure assumes that Microsoft ActiveSync is installed on your PC and is up and running.

72

CN3 Series Mobile Computer User’s Manual for Windows Mobile 5.0

Page 85

Chapter 3, Developing and Installing Applications

To install an application on the computer using ActiveSync 1 Connect the CN3 to a PC using a USB cable. You may have to disconnect and then connect the cable to “wake” the connection. 2 Wait for a “Connected” message to appear in the Microsoft ActiveSync application to signal a connection to the mobile computer. If necessary, select File > Connection Settings > Connect to initiate a connection.

3 Click Explore to open the Mobile Device window that shows the files and folders on the CN3. 4 On your desktop PC, locate the .cab file you want to download to the mobile computer and copy it. 5 From the Mobile Device window, open the My Windows Mobile-Based Device folder and navigate to the folder where you want to paste the .cab file. 6 Paste the .cab file into the desired folder. 7 When you are done copying files, warm boot or cold boot the mobile computer. 8 After the mobile computer is done booting, tap Start > Programs > File Explorer to locate the newly copied files. 9 Tap the .cab files to install them.

CN3 Series Mobile Computer User’s Manual for Windows Mobile 5.0

73

Page 86

Chapter 3, Developing and Installing Applications

Installing Applications Using a Storage Card If you have a miniSD card for your CN3, it is the best place for you to install applications. To install applications using the storage card 1 Suspend the CN3 and remove the miniSD card. 2 Insert the miniSD card into a miniSD adapter card and then place it in the storage card reader connected to your PC. 3 Copy your application file to the miniSD card. 4 Remove the miniSD card from the adapter card and insert it into the CN3. 5 On your CN3, navigate to the storage card folder and run your application.

Installing Applications Using the FTP Server The CN3 has a built-in FTP server that connects to a network through Ethernet, 802.11 b/g, or WAN (Wireless Access Network). You can use the server to transfer your application file to the computer. Another benefit of using the FTP server is that you can create FTP scripts to automate the process of copying your files to the computer. This option is useful when you need to send files to a large number of computers. The easiest way to manage the FTP server is to enable the FTP menu within iConnect. To enable the FTP menu •

Create this DWORD registry key and set it to a value of 1:

HKEY_CURRENT_USER\Software\iConnect2\IConnect\Settings\ShowFTPMenu

The iFTP menu is available the next time your start iConnect. To manage the state of the FTP server • Modify these existing registry keys: HKEY_CURRENT_USER\Software\iConnect2\IConnect\Settings\FtpAutoStart HKEY_CURRENT_USER\Software\iConnect2\IConnect\Settings\FtpHeartbeat

Where 1 = enable and 0 = disable.

74

CN3 Series Mobile Computer User’s Manual for Windows Mobile 5.0

Page 87

Chapter 3, Developing and Installing Applications

Installing Applications Using Wavelink Avalanche You can use the Wavelink Avalanche device management system to install applications on all of your wireless CN3s. Use InstallSelect to load Avalanche Enabler on your CN3. Tap File Explorer > Windows > InstallSelect to launch the InstallSelect applet. Each time the Avalanche Enabler is activated (typically on a reset), the CN3 attempts to connect to the Avalanche Agent. When the CN3 connects to the agent, the agent determines whether an update is available and immediately starts the software upgrade, file transfer, or configuration update. Note: If you manually activate the Avalanche Enabler on the CN3, you may be prompted for a password when you exit the Avalanche Enabler. The default password is leave. To use Avalanche to remotely manage the CN3 1 Install software packages and updates for the CN3 using the Avalanche Administrative console. 2 Schedule the CN3 updates or manually initiate an update using the Avalanche Administrative console. For more information on using Wavelink Avalanche, contact your local Intermec representative or visit the Wavelink website at www.wavelink.com.

Freeing Up Virtual Memory for Applications You can use the InstallSelect application to reduce the amount of virtual memory used by portions of the SmartSystems Platform Bundle (SSPB). Freeing up virtual memory provides you with more space to load and run custom applications. In technical terms, virtual memory allows software to run in a memory address space whose size and addressing are not necessarily tied to the physical memory of the computer. Note: InstallSelect is designed for use only by administrators, developers, integrators, or Intermec service representatives.

CN3 Series Mobile Computer User’s Manual for Windows Mobile 5.0

75

Page 88

Chapter 3, Developing and Installing Applications

Note: Do not run InstallSelect while using any other applications. InstallSelect manages the installation of value-added software features of the computer. Removing software features may result in loss of computer functionality or the ability to manage device settings. To free up virtual memory, select items from the InstallSelect list that you do not want to install. When you perform a clean boot, the items you selected are not installed. However, you can reinstall any of these SSPB components at any time with InstallSelect. Be sure to back up any related files that you want before you use the InstallSelect application. The InstallSelect application is part of the SSPB and is installed at the factory. For more information on SSPB, see “Upgrading the System Software” on page 78. To free up virtual memory 1 Go to Start > Programs > File Explorer. 2 Tap the Windows folder. 3 Scroll down to the InstallSelect application and tap the icon ( The InstallSelect application appears on the display with a Caution dialog box.

).

4 Tap ok to close the Caution dialog box.

76

CN3 Series Mobile Computer User’s Manual for Windows Mobile 5.0