加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

基于Flex移动和ArcGIS API for Flex开发移动GIS应用

发布时间:2020-12-15 03:45:38 所属栏目:百科 来源:网络整理
导读:问题: 使用Flex开发Android应用程序时,一切完好。 在项目中添加ArcGIS API For Flex,开发地图应用时,运行弹出错误:VerifyError: Error #1014: Class mx.controls::DateField could not be found.等等····· 解决方案: Note: if you are using cert

问题:

使用Flex开发Android应用程序时,一切完好。

在项目中添加ArcGIS API For Flex,开发地图应用时,运行弹出错误:VerifyError: Error #1014: Class mx.controls::DateField could not be found.等等·····


解决方案:

Note: if you are using certain mx components,you will need to include the mx.swc among the project libraries. You might also want to include sparkskins.swc.


Getting Started with Mobile Samples

The ArcGIS for Flex API samples can be accessed at?GitHub?in addition to the online?Resource Center. These samples include a few Flex Mobile-specific projects. To get started with Flex mobile applications,see?Mobile applications with Flex?.

  1. Open Adobe Flash Builder,choose?File?>?Import Flash Builder Project.
  2. Select Project folder,click Browse,and navigate to the downloaded project folder.
  3. Add the API Library to the project through?Project?>?Properties?>?Flex Build Path?>?Library Path?>?Add SWC?and locate the API library file.
  4. Add the following libraries to the build library path:
    • ${PROJECT_FRAMEWORKS}/libs/mx/mx.swc
    • ${PROJECT_FRAMEWORKS}/libs/sparkskins.swc
  5. Run the application using a simulator or on a physical device. Using the Run Configurations (Run?>?Run Configuration) you can add a Mobile application and define the Launch Method as appropriate.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读