Navigation extension

Description

This extension sample shows how to integrate the ArcGIS Mobile application for Windows with ArcLogistics Navigator for navigation. It allows you to select a point feature in the ArcGIS Mobile application, send the location to ArcLogistics Navigator as a destination, and navigate to it using the ArcLogistics Navigator Remote API. From this sample, you will learn how to extend the feature list pop-up menu and how to integrate the ArcLogistics Navigator navigation function with ArcGIS Mobile using the ArcLogistics Navigator Remote API.

Products: ArcGIS Mobile

Platforms: Windows

Requires: Visual Studio 2008 (SP1), .NET Framework 3.5 (SP1)

How to use

  1. Install ArcLogistics Navigator to the development machine and the work machine on which you use the application.
  2. Open the project within Visual Studio 2008 and load the sample project. Refer to the "Setting up development environment" section for how to set up your development machine.
  3. Compile the project and deploy the assembly (NavigationExtension.dll and ESRI.ALNRemote.dll from the Navigator installation folder) to your work machine. See the "Deploying extensions" topic for more information.
  4. Copy the navigationSettings.xml file to the c:\temp folder; it contains the starting point for navigation simulation. Or you could modify the navigationExtension.cs file to use the current GPS location as the routing start point.
  5. Build and deploy the mobile project assembly file (comes with the sample project) to <ArcGIS Mobile installation path>\bin\Extensions folder on your desktop where you will author your mobile project with the Mobile Project Center application.
  6. In Mobile Project Center, add Navigation Extension to your project on the Capabilities tab.
  7. Deploy your mobile project.
  8. Start the ArcGIS Mobile for Windows application.
  9. Open a mobile project that contains a point feature layer.
  10. From a feature list page (work list page, identify result page, or view update page), tap the feature menu button. A new command, Navigate to this feature, is now available on the pop-up menu.
  11. Tap this command. ArcLogistics Navigator opens and navigates to this location.

When you arrive at the destination, ArcLogistics Navigator hides and the ArcGIS Mobile for Windows application is again visible.

Where to get the sample

The sample is available for download from here.


9/20/2011