2010年9月02日周四_Deploying ArcGIS Mobile applications_4.1

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

//Deploying ArcGIS Mobile applications

//Developing mobile applications using the Mobile SDK

//2010年9月2日

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

Once you have published your mobile map and built your mobile application, the next step is to deploy it to one or many devices. Deploying mobile applications involves distributing your application executable, the mobile SDK libraries and any cached map data that you want the user to open when they start your app on the target device. It is important to deploy as much information as you can to the mobile device when it is in the office. If you plan to connect to the server and get data while in the field, your connection will not be as good as when in the office so it is important that you minimize how much data you request. When in the field, you should limit connections to and from the server to those day to day synchronizations that need to be performed (posting edits, getting jobs and job data).

Deployment can be as simple as an "xcopy deployment" where you copy everything to a target directory on the device or you can take advantage of custom install/setup programs that provide more functionality. Or if you are deploying to 10 or more mobile devices, you might want to consider using a commercial deployment software

一旦你发布了你的Mobile地图、创建你的移动应用,下一步就是将它部署到一个或者多个设备上面。 部署Mobile应用涉及到分发你的应用的可执行文件,Mobile SDK类库和任何地图切片,这些地图切片是启动目标设备上的APP后你想让用户打开的地图数据。非常重要的一点是在室内的时候,你要将尽可能多的应用程序部署到移动设备上面。 如果你打算在野外连接Server并获取数据,你的连接就不会像室内一样那么畅通,因此最小化数据请求数量是非常重要的。 当在野外的时候,你因该减少连接到和从Server连接 到这些每天都需要执行的同步。

部署可以像一个"xcopy deployment"那样简单,你从哪里拷贝任何东西到设备的一个目标目录或者你可以利用自定义的安装程序,她能够提供很多的功能。 或者,如果你部署到10个或者更多的设备,你也许会考虑使用一个商用的部署软件。

Mobile Application Deployment

移动应用部署

Which ever method you choose there are some common considerations:

   The .NET Framework 2.0 must be installed on the win32 target machines such as desktops, laptops, and tablet PC's. For mobile devices such as PDA's and Smartphones the .NET Compact Framework 2.0 must be installed. These are available as redistributable packages from Microsoft. Custom install programs can usually detect the presence of these frameworks on the target device and take some appropriate actions.

   The Mobile SDK libraries have been packaged in a signed cab file for deployment to mobile devives. This allows for a single copy of the runtime to be used in multiple applications including the Mobile out-of-the-box application. The cab file can deployed as a runtime by itself or be re-packaged for deployment with your applications

   All other dependencies such as libraries used for other controls in your application must be packaged and deployed.

 

The following topics will help you learn more about deployment on the indicated platform.

Deploying to mobile devices.

Deploying to windows.

不管你选择那种方法,下面有一些通用的你要考虑的问题

    .NET Framwork 2.0必须安装在win32的目标计算器上,比如:desktops、laptops, and tablet PC's。 对于移动设备比如:PDA和智能设备,.NET Framwork 2.0都是必须安装的,这些都是从微软在发行的封装,自定义安装程通常检测目标设备上当前的这些框架,然后做出一些合理的动作。

    Mobile SDK 类库 已经被封装在一个单独的cab 文件用于部署移动设备。着允许一个独立的runtime的拷贝应用到多个应用程序包括Mobile的out-of-the-box程序。 Cab文件可以作为一个runtime文件部署或者和你的应用重新达到打包用于部署。

    所有其他的依赖,比如用于你的程序中其他控件的类库必须封装并部署。

下面的题目将会帮助你学习更多的在制定平台上的部署:

Deploying to mobile devices.

Deploying to windows.

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