# Standalone Website for ArcGIS Runtime API for Android
This document helps you install and run the ArcGIS Runtime API for Android documentation from a local web server so you can access it without a connection to the internet. The documentation includes the developer guide, API reference, tutorials and samples documentation. The online documentation is hosted on the [ArcGIS Developer](https://developers.arcgis.com/android/) website.
You must agree to the [Terms of Use](EULA.pdf) before installing this documentation.
This documentation is designed to run on a local stand-alone computer or on an internal network and not on the public internet. It is a violation of the terms to run this on a public web server.
> The documentation must be hosted on a web server at the root path. It cannot run as a subfolder in another website. You cannot access this documentation over a `file://` URL or by opening the files directly in a web browser.
## System Requirements
To run this documentation package, you will need a machine with:
1. A minimum of 5 GB of available disk space.
2. A web server.
3. A text editor.
## Installation
1. Download and unzip the package. The archive contains two folders: `install` and `public`. The `install` folder contains the installation instructions (that you are currently reading) and supporting files. The `public` folder holds all the files required to render the website.
2. Serve the content inside the `public` folder from a local web server. Any web server should work. Instructions are included below for some of the more common web servers.
3. Optionally, you can setup a DNS entry to give the website a domain on your network.
## Webserver configurations
- [IIS](#iis)
- [Apache](#apache)
- [Node.js](#nodejs)
- [Python](#python)
- [XAMPP](#xampp)
- [Nginx via Docker](#docker)
### IIS
> For Windows only.
1. Open the **Internet Information Services (IIS) Manager** using one of the methods below.
- From a command prompt, type `start inetmgr`.
- Type `IIS` into the **Windows search** and select **Internet Information Services (IIS) Manager** from the list.
- Open **Control Panel** and navigate to **Control Panel -> All Control Panel Items -> Administrative Tools**. Find **Internet Information Services (IIS) Manager** and double-click it.
2. Expand the tree view on the left and select the **Default Web Site** node.
3. Check the **Manage Website** section on the right side of the dialog to verify the site is running.
- If the **Start** button is disabled, the site is running.
- If the **Start** button is enabled, click it to start the site.
4. With **Default Web Site** selected, click **Explore** in the **Actions** section on the right of the dialog. This will launch Windows Explorer with the root folder for the web server (by default it is `C:\inetpub\wwwroot\`). This is where you should add the content.
5. Copy or move the android subfolder from the `public` folder to the web root folder. Make sure to only move the subfolder, not the parent `public` folder. For a default IIS installation, the folder would be at `C:\inetpub\wwwroot\android`.
6. Open a web browser and navigate to http://localhost/android/ to explore the site.
### Apache
> For Linux, macOS, Windows
1. Install Apache with the appropriate command below for your OS.
- **Ubuntu**: `sudo apt-get install apache2`
- **CentOS/Red Hat**: `sudo yum install httpd`
- **macOS**: No action needed, macOS has Apache preinstalled
2. Start Apache the Apache web server.
- **Ubuntu**: `service apache2 start`
- **CentOS/Red Hat**: `service httpd start`
- **macOS**: `sudo apachectl start`
3. Open a browser and navigate to http://localhost. You will see a basic web page that verifies Apache is running.
5. Copy or move the android subfolder from the `public` folder to the document root. This is `/var/www/html` (by default), `/Library/WebServer/Documents` for macOS or the folder specified as `DocumentRoot` in the Apache configuration (`httpd.conf`).
6. Open a web browser and navigate to http://localhost/android/ to explore the site.
### Node.js
> For Linux, macOS, Windows
1. [Install Node.js](https://nodejs.org/en/). Any of the most recent LTS versions will work.
2. Copy the two files `package.json` and `rundev.js` from your downloaded folder `install/nodejs/` into the `public` folder. Make sure these individual files are copied directly inside the `public` folder (do not copy the `nodejs` folder itself).
3. From a terminal or command prompt, `cd` into the `public` folder.
4. Run `npm install` to install required dependencies.
5. After installation completes, run `npm start` to start the web server. When the web server starts, a message will indicate which port number you can use to view the site. For example: `Listening on port 8081 open a browser to` http://localhost:8081/android/
6. Open a web browser and navigate to http://localhost:8081/android/ to explore the site. Note that the port number may change, so substitute the port number reported when starting the server.
### Python
> For Linux, macOS, Windows
**Python 3**
1. Install [Python 3](https://www.python.org/downloads/).
2. From a terminal or command prompt, `cd` into your download's `public` folder.
3. Run `python -m http.server`. When the web server starts, a message will indicate which port number to use to view the site. For example: `Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/)`.
4. Open a web browser and navigate to http://localhost:8000/android/ to explore the site. Note that the port number may change, so substitute the port number reported when starting the server.
> NOTE: If you also have Python 2 installed, make sure you are running Python 3.
**Python 2**
Python 2 is no longer supported. These instructions assume you already have Python 2 installed. If not, you should use Python 3.
1. From a terminal or command prompt, `cd` into your download's `public` folder.
2. Run `python -m SimpleHTTPServer`. When the web server starts, a message will indicate which port number to use to view the site. For example: `Serving HTTP on 0.0.0.0 port 8000 ...`.
4. Open a web browser and navigate to http://localhost:8000/android/ to explore the site. Note that the port number may change, so substitute the port number reported when starting the server.
### XAMPP
> For Windows
1. [Install XAMPP](https://www.apachefriends.org/index.html).
2. Open the **XAMPP Control Panel** and start the Apache service.
3. Wait for XAMPP to start then click **Explore** to open the XAMPP installation directory in Windows Explorer.
4. Copy or move the android subfolder from your download's `public` folder to the XAMPP `htdocs` folder.
5. Open a web browser and navigate to a URL like `http://localhost:80/android/` to explore the site. Note that the port number for your server may vary. Click **Configure** in the **XAMPP Control Panel** to edit the port in the `httpd.conf` file.
> For Linux
1. [Install XAMPP](https://www.apachefriends.org/index.html).
2. Open XAMPP and click **Start**.
3. Wait for XAMPP to start then go to **Volumes** and mount the default volume.
4. Click **Explore** to open the volume.
5. Copy or move the android subfolder from your download's `public` folder to the `htdocs` folder.
6. You can access the documentation at `{XAMPP_URL}/android/`.
### Docker
> For Linux, macOS, Windows
1. [Install Docker for your operating system](https://www.docker.com/get-started).
2. Open the `Docker` app and wait for `Docker Engine` to start.
3. From a terminal or PowerShell (if using Windows), `cd` into your unzipped documentation folder (the one containing the `install`, and `public` subfolders).
4. Run the following command for your OS:
**Unix/macOS/Linux**
```txt
docker run --rm -v $(pwd)/install/docker/:/etc/nginx/conf.d -v $(pwd)/public:/usr/share/nginx/html -p 8000:80 nginx:mainline-alpine
```
**Windows (using PowerShell)**
```txt
docker run --rm
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
arcgis-runtime-sdk-android-documentation-100-14-0.zip (5384个子文件)
default.conf 209B
app.60334a2ef0ff3d763f5d.css 383KB
commons.1c49bb622a1f4786b272.css 286KB
stylesheet.css 22KB
jquery-ui.css 20KB
jquery-ui.min.css 17KB
license.css 3KB
jquery-ui.structure.css 2KB
jquery-ui.structure.min.css 2KB
element-list 1KB
floor-aware-scenes.gif 7.23MB
edit-validate-anim.gif 5.65MB
route-from-geotrigger-anim.gif 5.34MB
pathway-snap-anim.gif 4MB
edit-contingent-values-anim.gif 2.87MB
composite-sym-anim.gif 1.82MB
filter-floors-anim.gif 1.09MB
flisting.htm 43KB
find-closest-facility-to-multiple-incidents-service.htm 127B
find-closest-facility-to-an-incident-interactive.htm 124B
dictionary-renderer-with-graphics-overlay.htm 119B
create-terrain-from-a-local-tile-package.htm 118B
view-content-beneath-the-terrain-surface.htm 116B
generate-offline-map-with-local-basemap.htm 115B
feature-layer-definition-expression.htm 113B
create-terrain-from-a-local-raster.htm 112B
integrated-windows-authentication.htm 111B
service-feature-table-manual-cache.htm 110B
feature-layer-rendering-mode-scene.htm 110B
feature-layer-dictionary-renderer.htm 109B
delete-features-feature-service-.htm 109B
feature-layer-rendering-mode-map.htm 108B
statistical-query-group-and-sort.htm 108B
feature-layer-feature-service.htm 107B
view-point-cloud-data-offline.htm 107B
feature-layer-update-attributes.htm 107B
add-features-feature-service-.htm 106B
service-feature-table-no-cache.htm 106B
generate-offline-map-overrides.htm 106B
feature-collection-layer-query.htm 106B
change-feature-layer-renderer.htm 105B
feature-layer-update-geometry.htm 105B
feature-layer-show-attributes.htm 105B
sync-map-and-scene-viewpoints.htm 105B
find-service-area-interactive.htm 105B
distance-measurement-analysis.htm 105B
spatial-operations.htm 104B
service-feature-table-cache.htm 103B
mobile-map-search-and-route.htm 103B
manage-operational-layers.htm 103B
feature-layer-geodatabase.htm 103B
add-graphics-with-symbols.htm 103B
change-sublayer-visibility.htm 102B
choose-camera-controller.htm 102B
change-atmosphere-effect.htm 102B
add-graphics-renderer.htm 102B
arcgis-map-image-layer-url.htm 102B
open-mobile-map-package.htm 101B
feature-layer-selection.htm 101B
display-device-location.htm 101B
transforms-by-suitability.htm 101B
distance-composite-symbol.htm 101B
raster-function-service.htm 101B
open-mobile-scene-package.htm 101B
attribution-view-change.htm 101B
feature-layer-extrusion.htm 101B
display-kml-network-links.htm 101B
set-map-spatial-reference.htm 101B
edit-and-sync-features.htm 100B
query-map-image-sublayer.htm 100B
feature-collection-layer.htm 100B
feature-layer-geopackage.htm 100B
set-initial-map-location.htm 100B
edit-feature-attachments.htm 100B
line-of-sight-geoelement.htm 100B
viewshed-geoprocessing.htm 100B
display-layer-view-state.htm 100B
change-sublayer-renderer.htm 100B
feature-layer-shapefile.htm 99B
raster-rendering-rule.htm 99B
raster-layer-geopackage.htm 99B
update-related-features.htm 99B
add-an-integrated-mesh-layer.htm 99B
get-elevation-at-point.htm 98B
location-line-of-sight.htm 98B
map-image-layer-tables.htm 98B
densify-and-generalize.htm 98B
arcgis-tiled-layer-url.htm 98B
picture-marker-symbols.htm 98B
generate-geodatabase.htm 98B
show-labels-on-layer.htm 98B
display-drawing-status.htm 98B
token-authentication.htm 98B
set-initial-map-area.htm 98B
generate-offline-map.htm 98B
geodesic-operations.htm 97B
scene-layer-selection.htm 97B
list-related-features.htm 97B
spatial-relationships.htm 97B
feature-layer-query.htm 97B
共 5384 条
- 1
- 2
- 3
- 4
- 5
- 6
- 54
资源评论
梅里雪山GIS
- 粉丝: 2w+
- 资源: 498
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- tensorflow-gpu-2.7.4-cp37-cp37m-manylinux2010-x86-64.whl
- 多段线、 圆、弧转多段线(仅我可见)
- tensorflow-2.7.2-cp38-cp38-manylinux2010-x86-64.whl
- yeyue-p8Yi4-ve4a83792.apk
- tensorflow-gpu-2.7.3-cp38-cp38-manylinux2010-x86-64.whl
- 五相感应电机矢量控制模型MATLAB
- RGLED (1) (1).circ
- IMG_20240427_215747.jpg
- python下前端WEB学习笔记
- 田间种植行排号自动生成工具
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功