ArcGIS Mobile samples
The ArcGIS Mobile SDK includes a number of sample applications that illustrate how to use key mobile components across the Windows Mobile, Windows Smartphone, and Windows platforms. The sample applications, their accompanying source code and map cache data are available for download. Links to download these samples can be found in the following articles:
Windows Samples | Windows Mobile Samples |
---|---|
Requires Visual Studio 2008 SP1 and .NET 3.5 | Requires Visual Studio 2008 SP1 and .NET CF 2.0 |
Windows Mobile Walkthrough | |
WPF Walkthrough | Windows SmartPhone Walkthrough |
Using GPS data | |
In order to unzip the samples you will need an unzip utility like WinZIP or use the unzip functionality built into the Windows Explorer shell. While you will be able to extract the samples to any location, it is good practice to extract them to their default locations since they may reference a "data" directory relative to the installation location. For Windows Vista and 7 users we recommend extracting the samples to a location where the user has full permissions. We recommend keeping the same folder structure in that location to keep the relative path to the data folder the same.
Map caches
Each of the samples works directly against a map cache and do not require a connection to a server. Each sample contains a map cache folder and data. To use the samples, you will need to copy the map cache folder to the location specified by the map cache storage path in the sample application. If you are working with Pocket PC or Smartphone samples, you will need to copy the map cache data onto the device or emulator before running the application. You can use ActiveSync to copy the map cache. However, if you are planning to extend the functionality of a sample application, it is recommended that after creating a mobile web service you create a new map cache that points to your service. Creating a new map cache will ensure that the schema of the map service and the cache are identical.