Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xposed-modules-repo/com.zhufucdev.motion_emulator
Motion Emulator
https://github.com/xposed-modules-repo/com.zhufucdev.motion_emulator
Last synced: about 5 hours ago
JSON representation
Motion Emulator
- Host: GitHub
- URL: https://github.com/xposed-modules-repo/com.zhufucdev.motion_emulator
- Owner: Xposed-Modules-Repo
- License: apache-2.0
- Created: 2022-11-20T05:13:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-20T12:57:07.000Z (about 1 year ago)
- Last Synced: 2023-08-20T14:17:31.581Z (about 1 year ago)
- Homepage: https://github.com/zhufucdev/MotionEmulator/pulls
- Size: 224 KB
- Stars: 29
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MotionEmulator
English Version | [中文文档](https://github.com/zhufucdev/MotionEmulator/blob/main/README_zh.md)
Motion Emulator is an application platform that allows
you to mock location and sensor data using different methods,
including Xposed and debugging options.## Scenarios
Trick your fitness app or your favourite game. Make you king of the world.
## Usage
To learn about the latest software and its tricks, refer to
[Steve's Blog](https://zhufucdev.com/article/RTyhZArsyD2JKPbdHEviU).## Build Instructions
Build and maintain this project with the latest Android Studio Canary
(currently Hedgehog | 2023.1.1 Canary 15) because this project is pretty
radical.This app contains sdk from Amap and Google Maps, thus **api keys** are
required.
Obtain them from [here](https://console.amap.com/dev/key/app)
[and here](https://developers.google.com/maps/documentation/android-sdk/start)
```shell
echo amap.web.key="" >> local.properties
echo AMAP_SDK_KEY="" >> local.properties
echo GCP_MAPS_KEY="" >> local.properties
```My own service is involved to provide online features like self update,
which is optional and shouldn't be included in unofficial builds.However, it is still possible to build with your own service.
```shell
cd app
echo SERVER_URI="" >> server.properties
echo PRODUCT="" >> server.propertiescd ../mock_location_plugin
echo SERVER_URI="" >> server.properties
echo PRODUCT="" >> server.properties
```The `SERVER_URI` is supposed to be an HTTP/HTTPS RESTful that implements
a certain protocol. You can get an example by
[looking at my codebase](https://github.com/zhufucdev/api.zhufucdev).By the way, in case you are not familiar with Android dev, fill in
your own SDK like so:
```shell
echo sdk.dir= >> local.properties
```## License
```
Copyright 2022-2023 zhufucdevLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```## Special Thanks
- [wandergis/coordtransform](https://github.com/wandergis/coordtransform) for its map coordinate fixing algorithm