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