# 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-13-0.zip (4940个子文件)
vector-map-styles.bmp 14KB
default.conf 209B
app.32225799158bd9ed749e.css 379KB
commons.af42147d6c8c92801e2d.css 66KB
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
component---node-modules-gatsby-theme-afd-src-pages-404-tsx.1240b98337de97644fb0.css 1KB
element-list 1KB
floor-aware-scenes.gif 7.23MB
route-from-geotrigger-anim.gif 5.34MB
pathway-snap-anim.gif 4MB
composite-sym-anim.gif 1.82MB
filter-floors-anim.gif 1.09MB
flisting.htm 42KB
index-all.html 4.38MB
index.html 2.11MB
index.html 1.51MB
index.html 1.46MB
index.html 1.38MB
index.html 902KB
index.html 831KB
index.html 656KB
index.html 618KB
index.html 574KB
index.html 412KB
index.html 406KB
allclasses-index.html 384KB
index.html 358KB
index.html 355KB
index.html 353KB
index.html 332KB
index.html 307KB
index.html 295KB
index.html 295KB
index.html 290KB
overview-tree.html 273KB
index.html 266KB
index.html 265KB
index.html 263KB
index.html 262KB
index.html 240KB
index.html 235KB
index.html 234KB
index.html 231KB
index.html 230KB
index.html 228KB
index.html 226KB
index.html 224KB
index.html 223KB
index.html 221KB
index.html 221KB
index.html 218KB
index.html 215KB
index.html 210KB
index.html 209KB
index.html 208KB
index.html 207KB
index.html 207KB
index.html 205KB
index.html 204KB
index.html 203KB
index.html 202KB
index.html 200KB
index.html 200KB
index.html 200KB
index.html 200KB
index.html 197KB
index.html 196KB
index.html 195KB
index.html 194KB
index.html 194KB
index.html 194KB
index.html 193KB
index.html 192KB
index.html 191KB
index.html 190KB
index.html 187KB
index.html 187KB
index.html 186KB
index.html 185KB
index.html 184KB
index.html 184KB
index.html 184KB
index.html 183KB
index.html 183KB
index.html 182KB
index.html 182KB
index.html 182KB
index.html 181KB
index.html 181KB
index.html 181KB
index.html 181KB
index.html 180KB
GeometryEngine.html 180KB
index.html 179KB
index.html 175KB
共 4940 条
- 1
- 2
- 3
- 4
- 5
- 6
- 50
梅里雪山GIS
- 粉丝: 2w+
- 资源: 498
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 农村信用社联合社计算机信息系统投产与变更管理办.docx
- 农村信用社联合社计算机信息系统数据管理办法.docx
- 利用SPSS作临床效度分析线上计算网站介绍-医学研究部统计谘.(医学PPT课件).ppt
- 利用Zabbix监控mysqldump定时备份数据库状态.docx
- 利用计算机解决问题的基本过程.doc
- 化工铁路通信工程总结.doc
- 北京大学网络教育软件工程作业.docx
- 医药公司(连锁店)计算机操作规程未新系统的自行按照旧制修改-新系统过制的编号加修模版.doc
- 医药公司(连锁店)计算机系统操作规程模版.doc
- 医药连锁门店计算机系统的操作和管理程序未新系统的自行按照旧制修改-新系统过制的编号加修模版.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0