Replace Geometry extension
Description
This sample shows how to add a Replace Geometry option for an activated feature on a feature list page (for example, a feature on a work list). It also allows you to choose a geometry collection method to collect a new geometry, then use the new geometry to replace the old geometry for the activated feature.
Products: ArcGIS Mobile
Platforms: Windows Mobile 5/6
Requires: Visual Studio 2008 with SP1, .NET Compact Framework 2.0 SP2
How to use
- Open the project within Visual Studio 2008. Learn how to set up your development machine.
- Compile the project and deploy the assembly to your mobile device or emulator. Read more information about deployment.
- 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.
- In Mobile Project Center, add the extension to your project on the Capabilities tab.
- Deploy your mobile project to your Windows Mobile device or emulator. Get more details on deployment.
- Start the out-of-the-box mobile application.
- Tap to open the mobile project.
- Perform a search and save the features from the result to the work list.
- Click the WorkList task and activate one of the features on the list (the feature needs to be editable).
- From the , choose Replace Geometry and follow the workflow.
Where to get the sample
The sample is available for download.
9/20/2011