GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — APIJSON-Demo/APIJSON-Android/README.md at main · APIJSON/APIJSON-Demo

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
32 lines (20 loc) · 1.35 KB
/

README.md

Copy path

File metadata and controls

32 lines (20 loc) · 1.35 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

English

APIJSON前端上手 - Android

1.下载后解压APIJSON-Demo工程

打开APIJSON-Demo的GitHub主页 > Clone or download > Download ZIP > 解压到一个路径并记住这个路径。


2.用Android Studio运行Android工程

如果IDE没安装,运行前先下载安装。
我的配置是Windows 7 + JDK 1.7.0_71 + Android Studio 2.2 和 OSX EI Capitan + JDK 1.8.0_91 + Android Studio 3.0,其中系统和软件都是64位的。

1)打开
Open an existing Android Studio project > 选择刚才解压路径下的APIJSON-Demo-Master/APIJSON-Android/APIJSONApp (或APIJSONTest) > OK

2)运行
Run > Run app


3.测试接口

选择发送APIJSON请求并等待显示结果。
如果默认url不可用,修改为一个可用的,比如正在运行APIJSON后端工程的电脑的IPV4地址,然后点击查询按钮重新请求。

也可以直接使用 APIAuto-机器学习 HTTP 接口工具 或 Postman 等其它 HTTP 接口工具,格式为 HTTP POST JSON,具体示例参考通用文档
https://github.com/Tencent/APIJSON/blob/master/Document.md

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.