2010年9月05日_周日_DeveloperEnvironmentRequirements_1.1

/**************************************/

//Developer Resources

//2010年9月5日

/******************************************/

Using Visual Studio and the ArcGIS Mobile SDK, you can develop highly focused GIS-centric mobile applications and/or infuse(注入) GIS functionality into existing line of business mobile applications you are already developing.

The ArcGIS Mobile SDK includes a suite of .NET components that enable you to rapidly develop Windows Forms applications that target Windows Mobile devices.

The following topics identify requirements necessary for mobile application development using the Mobile SDK:

使用VSArcGIS Moile SDK,你可以开发高度集中的以GIS为中心的mobile 应用,或者将GIS功能添加到你已经开发的商业Mobile 应用程序中。

ArcIGS Moile SDK 包括一系列的.NET 组件,他们能够让你快速的开发部署到Windows Mobile设备总的windows应用程序。

下面的题目鉴定使用Mobile SDK 开发mobile 应用程序所需要要求。

   Mobile Device Requirements

   Mobile Development Resource Requirements

   Map Resource Requirements

Mobile Device Requirements

The introduction of the .NET Compact(紧凑的) Framework (a subset of the full .NET framework) brings the benefits of managed code development to the smart device platform and the Mobile SDK complements(补充) the Compact Framework and Visual Studio by introducing a number of easy to use .NET components that you can use to infuse GIS functionality into your existing line of business mobile applications.

Mobile SDK components support the following smart device platforms:

移动设备要求:

.NET compact框架的引入带来了管理开发智能设备的代码的便利和Mobile SDK补充了compact 框架和VS,这是通过引入一定数量的容易使用的.NET compomnet,你可以使用这些组件将GIS功能引入到你的现有的商业移动应用程序中。

Mobile SDK组件支持下列智能平台:

   Windows Mobile 6 Professional and Windows Mobile 6 Standard

   Windows Mobile 5 Pocket PC and Windows Mobile 5 Smartphone

   Windows Mobile 2003

   Windows CE .NET 5.0

In addition to these smart device platforms, the Mobile SDK also supports the full .NET framework so that you can develop field applications that target Tablet PCs and Ultra-Mobile PCs running Windows XP, Windows XP Tablet PC edition or Windows Vista operating systems.

Before starting your mobile development, it is important to consider and study the platform that you are targeting. You do not simply want to replicate a Windows application on a mobile device. The user interaction is quite different. Below are a number of resources that will help you in understanding the mobile platform and how to target the devices you are developing for.

除了这些智能设备平台,Mobile SDK还支持全部的.NET 框架,因此你可以开发部署到桌面PCUltra-mobile的野外应用程序,这些设备可以是运行Windows XP,Windows XP Tablet Pc edition 或者 windows vista 开发系统。

在开始你的移动开发之前,考虑和学习你要部署到的设备平台是非常重要的。 你不能简单的想要将一个windows应用程序部署到一个移动设备,用户的交互是有很大的不同。 下面有一些资源可以帮助你理解mobile 平台以及如何瞄准你将要开发的平台。

Installing Development Resources
http://msdn2.microsoft.com/en-us/windowsmobile/bb264337.aspx

Designing User Interfaces
http://msdn2.microsoft.com/en-us/library/aa454904.aspx

Application Security and Deployment
http://msdn2.microsoft.com/en-us/library/aa145864.aspx

Getting Started with the Compact Framework
http://msdn2.microsoft.com/en-us/library/aa446534.aspx

Mobile Development Resource Requirements

In order to develop smart devices applications using the ArcGIS Mobile SDK, there are a number of resources that do not ship with Visual Studio that you will need to download and install onto your developer machine.

The following are required installs for smart device development with the ArcGIS Mobile SDK:

Mobile 开发必要的资源

为来使用ArcGIS Mobile SDK开发之智能设备应用程序,这里有一定数量的资源没有包含在VS中,因此你需要下载下来并安装到你开发的计算机中。

下面的资源是使用ArcGIS Mobile SDK开发智能设备应用程序要求安装的:

Visual Studio 2005 Service Pack 1 (for Windows XP)
http://www.microsoft.com/downloads/details.aspx?FamilyID=bb4a75ab-e2d4-4c96-b39d-37baf6b5b1dc&DisplayLang=en

Visual Studio 2005 Service Pack 1 (for Windows Vista)
http://www.microsoft.com/downloads/details.aspx?FamilyID=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&displaylang=en

ActiveSync 4.5 (for Windows XP)
http://www.microsoft.com/windowsmobile/activesync/activesync45.mspx

Windows Mobile Device Center (for Windows Vista)
http://www.microsoft.com/downloads/details.aspx?FamilyID=83d513ea-9df9-4920-af33-3a0e2e4e7beb&displaylang=en

Compact Framework 2.0 SP2
http://www.microsoft.com/downloads/details.aspx?FamilyID=aea55f2f-07b5-4a8c-8a44-b4e1b196d5c0&displaylang=en

It is important to note that Visual Studio 2005 was released prior to the Windows Mobile 5 platform release and as such you will need to download the Windows Mobile 6 and or Windows Mobile 5 SDKs if you plan to develop for either of those platforms.

Windows Mobile 6 SDKs:
http://www.microsoft.com/downloads/details.aspx?FamilyID=06111a3a-a651-4745-88ef-3d48091a390b&displaylang=en

If you plan to develop for the Windows Mobile 5 or 6 platforms, you do not need a Windows Mobile device to test and debug your application. Visual Studio ships with a device emulator. You can connect and cradle directly to a device emulation using ActiveSync and debug your application. If you are using Visual Studio 2005, it is recommended that you download the latest version of the device emulator as there have been significant enhancements since the 2005 release.

如果你打算进行Windows mobile 5或者windows moble 6平台下的开发,你就不需要一个windows mobile 设备来测试和调试你的应用程序。 VS附带了一个设备模拟器,你可以使用一个ActiveSync与一个设备模拟器建立连接,然后调试你的应用程序。如果你使用VS2005,那么建议你下载最新版本的设备模拟器,因此自从VS2005发布,已经有了很大的改变了

Microsoft Device Emulator 3.0
http://www.microsoft.com/downloads/details.aspx?familyid=A6F6ADAF-12E3-4B2F-A394-356E2C2FB114&displaylang=en

Map Resource Requirements

Applications that you develop using the ArcGIS Mobile SDK leverage map data that has been cached locally on the smart device used in the field.

In order to cache map data, you must first publish a map document as a map service that has “mobile data access” capabilities. A map service that is published with mobile data access capabilities contains a web service end point that the ArcGIS Mobile SDK uses to synchronize map data between the server and the smart device client.

http://<server_name>/arcgis/services/<map_name>/MapServer/MobileServer
Example URL of a Map Service with mobile data access capabilities

Once a mobile service has been created, there are 2 primary ways that a cache can be created:

你使用ArcGIS Mobile 开发的应用程序使用了已经在本地智能设备上缓存过的地图数据,因此他们可以在野外使用。

为了缓存地图数据,你必须将一个地图文档发布为一个具有【moble data Access】能力的地图服务。 一个发布有Mobile data Access 能力的地图服务包含一个web 服务end pointArcGIS Mobile SDK 可是使用它实现地图服务器和智能设备客户端之间的地图数据同步。

一旦创建来一个moble 服务,这里有两个主要的方法创建缓存

  1. Using the Generate Mobile Service Cache Geoprocessing Tool
  2. Using the MobileService component within the ArcGIS Mobile SDK

The Generate Mobile Service Cache Geoprocessing tool is located within the Mobile toolbox in ArcCatalog or ArcMap. Using the mobile service connection as input, you can output a folder full of map data that can then be copied to the mobile device. In addition, the mobile application that you develop using the SDK can synchronize data from the server to the client device directly using the MobileService namespace.

生成Mobile 服务缓存的地理处理处理工具位于ArcMap或者ArcCatalog中的Mobile 工具箱中,使用moble 服务连接作为输入,你可以输入出到一个充满地图数据的文件中,然后可以拷贝到移动设备。另外,你使用SDK开发的mobile应用程序可以使用MobleServices 命名空间实现服务器端和客户端设备之间的直接数据同步。

Prior to publishing the map resource, you should take care when designing the map to identify which map layers need to synchronize information between the client and the server and which layers are purely static base map layers. Using the Create Mobile Base Map Geoprocessing Tool, you can create a base map data set from static map layers and blend both static map data and mobile service map data together on the client device using the SdcData namespace.

If you plan to support field editing of GIS layers in the application that you develop, the following requirements are must be met:

在发布地图资源之前,当你设计地图来鉴定那些地图图层需要实现客户端和服务器端信息的同步,那些图层仅仅作为基础地图图层的时候,你需要小心。 使用【Create Mobile Base Map】地理处理工具,你可以创建一个基础地图数据设置为静止地图图层,并使用ADCdata 命名空间混合静止地图数据和移动服务地图数据到客户端的设备中。

如果你打算在你开发的程序中支持野外的GIS图层编辑功能,那么下面的要求你必须满足:

Map layer data source must be stored within an ArcSDE geodatabase

Map layer data source must have a Global ID column *New for 9.3

It is also important to note that if the shape column of the SDE data source for the map layer is Z-enabled or M-enabled that you will only be able to support attribute editing for features within those map layers.

    地图图层数据源必须存储在一个ArcSDE地理数据库里面

    地图图层数据源必须有一个全局的ID列,这是9.3中的新特性

需要注意的是:如果SDE数据源中的地图图层中的shape column Z-enable或者M-enable,那么你仅仅支持对这些地图图层中的features进行属性编辑。

原文地址:https://www.cnblogs.com/xingchen/p/1824450.html