Geocoding task

Description

This sample shows how to look up an address with StreetMap data; the virtual keyboard is connected with the geocoding lookup result. It demonstrates how to draw geometry on a graphic layer as well.

Products: ArcGIS Mobile

Platforms: Windows

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

How to use

  1. 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.
  2. Open the GeocodingPage.xaml.cs file and specify a valid StreetMap dataset in the Geocodingpage_load() function.
  3. Compile the project and deploy the assembly to your mobile device or emulator. Refer to the "Deploying extensions" section for more information.
  4. Build and deploy the mobile project assembly file (comes with the sample project) to the <ArcGIS Mobile installation path>\bin\Extensions folder on your desktop where you will author your mobile project with the Mobile Project Center application.
  5. In Mobile Project Center, add Find Address to your project on the Task tab and add ReverseGeocoding Extension to your project on the Capabilities tab.
  6. Deploy your mobile project.
  7. Start the ArcGIS Mobile for Windows application.
  8. Open the mobile project. Notice there is a new task named Find Address and a Reverse Geocoding Extension menu item on the map control menu.
  9. Launch the Geocoding task, look up an address step by step, then locate it on the map.

Where to get the sample

The sample is available for download from here.


9/20/2011