the mobile samples for the ArcGIS API for Flex

来源:互联网 发布:php true false 编辑:程序博客网 时间:2024/06/06 03:28
  1. Open Adobe Flash Builder, choose File -> Import Flash Builder Project.
  2. Select Project folder, click Browse, and navigate to the downloaded "mobile/BasicMap" folder.
    1. Add the API Library to the project through Project.
    2. Go to Project -> Properties -> Flex Build Path -> Library Path -> Add SWC (and locate the "agslib-#.#-YYYY-MM-DD.swc").
    • Alternatively, copy the swc library to the libs folder under the "BasicMap" project.
    1. Add the following libraries to build library path.
    2. ${PROJECT_FRAMEWORKS}/libs/mx/mx.swc
      • e.g. /Users/Jack/Apache/Flex_SDKs/4.9.1_37/frameworks/libs/mx/mx.swc
    • ${PROJECT_FRAMEWORKS}/libs/sparkskins.swc
      • e.g. /Users/Jack/Apache/Flex_SDKs/4.9.1_37/frameworks/libs/sparkskins.swc
    1. 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.
  • 0 0
    原创粉丝点击