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 the MobileApplication class to seamlessly transition from one page to another.

Prerequisites

Product: ArcGIS Mobile

Platform: Windows

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

How to use

  1. Open Visual Studio 2008 and load the sample project. See the Setting up Development Environment topic for instructions on how to set up your development machine.
  2. Compile the solution to create an assembly for the Mobile Project Center and an assembly for the Mobile application.
    NoteNote:

    Pre-built assemblies are included with the sample project.

  3. Deploy the mobile project assembly files to the <ArcGIS Mobile Project Center program folder>\Extensions and \Extensions\Win32 folders on your desktop where you'll author your mobile project with the Mobile Project Center application. See the Deploying Extensions section for details and path information.
  4. In Mobile Project Center, add the Hello World task to your project on the Task tab.
  5. Save and deploy your mobile project.
  6. Start the ArcGIS Mobile for Windows application.
  7. Open the mobile project. The Hello World task is now available.
  8. Start 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 ArcGIS Online.

1/7/2015