Easy Button task

Description

This sample shows how to create a new task with the application framework and plug in your own business logic within the application. It demonstrates how to incorporate additional functions, such as voice recording and replaying, in a custom task and allows you to perform the operation. It sets forth the basic requirements for creating a new task and how to navigate from one page to the other with the MobileApplication class.

Products: ArcGIS Mobile

Platforms: Windows Mobile 5/6

Requires: Visual Studio 2008 with SP1, .NET Compact Framework 2.0 SP2

How to use

  1. Open the project within Visual Studio 2008. To learn how to set up your development machine, click here.
  2. Compile the project and deploy the assembly to your mobile device or emulator. Click here for more information for deployment.
  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 Easy Button Task to your project on the Tasks tab.
  5. Deploy your mobile project to your Windows Mobile device or emulator. For more details on deployment, click here.
  6. Start the out-of-the-box mobile application.
  7. Tap to open the mobile project.
  8. On the Select Task page, if you don't see the Easy Button task, scroll down using the arrow keys or the rocker.
  9. Tap Easy Button to navigate to a new page.
  10. Use the menu to record a voice or to replay a recording.

Where to get the sample

The sample is available for download from here.


9/20/2011