Hello World task

Description

This sample shows how to create a new task with the ArcGIS Mobile for Windows application framework and navigate to a new page and back to the Select Task page. It also demonstrates how you can leverage MobileApplication class to seamlessly transition from one page to the other.

This sample also shows how to hide the page navigation bar using the IPageFooter interface. If you don't want to hide the navigation bar, you don't need this interface.

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. Compile the project and deploy the assembly to your mobile device or emulator. Refer to the "Deploying extensions" section for more information.
  3. 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.
  4. In Mobile Project Center, add Hello World Task to your project on the Task tab.
  5. Deploy your mobile project.
  6. Start the ArcGIS Mobile for Windows application.
  7. Open the mobile project. Notice there is a new task named Hello World.
  8. Launch the Hello World task. The application navigates to a new page.
  9. Tap the Back button on the navigation bar to return to the previous page.

Where to get the sample

The sample is available for download from here.


9/20/2011