Popup Menu extension

Description

This sample shows how to build a customized pop-up menu page that provides options when they're needed. The pop-up menu can be seen as equivalent to a context menu on win32 forms. A typical example is the pop-up menu that appears when you tap a feature from a search result and can then view the selected feature's attributes, browse to it on the map, add it to the work list, and so on. This sample appends a Navigate option to the following three pages in the application:

NoteNote:

This sample demonstrates how to customize a pop-up menu item' it does not implement the navigate function for the selected feature.

Prerequisites

Product: ArcGIS for Windows Mobile

Platforms: Windows Mobile 5/6

Requirements: Visual Studio 2008 with SP1, .NET Compact Framework 3.5

How to use

  1. Open the project in Visual Studio 2008. Learn how to set up your development machine.
  2. Compile the project and deploy the assembly to your mobile device or emulator. Read more about deployment.
  3. Build and deploy the mobile project assembly file (included with the sample project) to the <ArcGIS Mobile installation path>\bin\Extensions folder on your desktop where you'll author your mobile project with the Mobile Project Center application.
  4. In Mobile Project Center, add the extension to your project on the Capabilities tab.
  5. Deploy your mobile project to your Windows Mobile device or emulator. Get more details on deployment.
  6. Start the out-of-the-box mobile application.
  7. Open the mobile project.
  8. On the Select Task page, tap Search Features.
  9. Perform a search on any feature type.
  10. On the Search Results page, tap one of the features in the list. A pop-up menu appears with a Navigate option.
  11. Tap Navigate. A message appears.

Where to get the sample

The sample is available for download from ArcGIS Online.

1/7/2015