Skip to content
项目

dpdearing/android-gps-emulator

在 GitHub 查看

关于

A Google Maps-based tool for simulating the GPS location of the Android emulator

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

android-gps-emulator

android-gps-emulator is a GPS location emulator for changing/setting/simulating the GPS location of the Android emulator through a simple map-based interface, using the geo fix command.

Using GWT and Google Maps in combination with JTA (Java telnet support), this is a simple tool for emulating the geospatial (GPS) location of your local android emulator using the telnet geo fix command.

NOTE: You must have a Google account with billing enabled to generate an API key for the Google Maps JavaScript API. See Google's documentation at Get API Key

Quick Start

  1. Download the latest release
  2. Create a file named google_maps_api_key containing your API key
  3. Run the executable war: java -jar android-gps-emulator-0.3.war
  4. http://localhost:8080/gpsemulator/

android-gps-emulator

Running on a Different Port

android-gps-emulator runs by default on port 8080. The port can be changed by passing the desired port as a parameter when running the executable war. For example, to run on port 9001:

   java -jar android-gps-emulator-0.3.war 9001

GWT Hosted Mode (from source)

  1. Clone the repository
  2. Create a file named google_maps_api_key containing your API key
  3. From the command line execute mvn gwt:run
  4. Click Launch Default Browser from the GWT Development Mode

探索相关项目

加载中…