├── SCOPE
├── SOURCE_URL
├── .gitignore
├── SUMMARY
└── README.md
/SCOPE:
--------------------------------------------------------------------------------
1 | ["com.totoro.school"]
--------------------------------------------------------------------------------
/SOURCE_URL:
--------------------------------------------------------------------------------
1 | https://github.com/zhufucdev/MotionEmulator
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /.idea/
2 | /MotionEmulator.iml
3 | .DS_Store
4 |
--------------------------------------------------------------------------------
/SUMMARY:
--------------------------------------------------------------------------------
1 | A motion simulator with sensor support
2 | 带有传感器支持的运动模拟器,可对付校园跑
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # MotionEmulator
2 |
3 |
4 | English Version | [中文文档](https://github.com/zhufucdev/MotionEmulator/blob/main/README_zh.md)
5 |
6 | Motion Emulator is an application platform that allows
7 | you to mock location and sensor data using different methods,
8 | including Xposed and debugging options.
9 |
10 | ## Scenarios
11 |
12 | Trick your fitness app or your favourite game. Make you king of the world.
13 |
14 | ## Usage
15 |
16 | To learn about the latest software and its tricks, refer to
17 | [Steve's Blog](https://zhufucdev.com/article/RTyhZArsyD2JKPbdHEviU).
18 |
19 | ## Build Instructions
20 |
21 | Build and maintain this project with the latest Android Studio Canary
22 | (currently Hedgehog | 2023.1.1 Canary 15) because this project is pretty
23 | radical.
24 |
25 | This app contains sdk from Amap and Google Maps, thus **api keys** are
26 | required.
27 | Obtain them from [here](https://console.amap.com/dev/key/app)
28 | [and here](https://developers.google.com/maps/documentation/android-sdk/start)
29 | ```shell
30 | echo amap.web.key="" >> local.properties
31 | echo AMAP_SDK_KEY="" >> local.properties
32 | echo GCP_MAPS_KEY="" >> local.properties
33 | ```
34 |
35 | My own service is involved to provide online features like self update,
36 | which is optional and shouldn't be included in unofficial builds.
37 |
38 | However, it is still possible to build with your own service.
39 | ```shell
40 | cd app
41 | echo SERVER_URI="" >> server.properties
42 | echo PRODUCT="" >> server.properties
43 |
44 | cd ../mock_location_plugin
45 | echo SERVER_URI="" >> server.properties
46 | echo PRODUCT="" >> server.properties
47 | ```
48 |
49 | The `SERVER_URI` is supposed to be an HTTP/HTTPS RESTful that implements
50 | a certain protocol. You can get an example by
51 | [looking at my codebase](https://github.com/zhufucdev/api.zhufucdev).
52 |
53 | By the way, in case you are not familiar with Android dev, fill in
54 | your own SDK like so:
55 | ```shell
56 | echo sdk.dir= >> local.properties
57 | ```
58 |
59 | ## License
60 |
61 | ```
62 | Copyright 2022-2023 zhufucdev
63 |
64 | Licensed under the Apache License, Version 2.0 (the "License");
65 | you may not use this file except in compliance with the License.
66 | You may obtain a copy of the License at
67 |
68 | http://www.apache.org/licenses/LICENSE-2.0
69 |
70 | Unless required by applicable law or agreed to in writing, software
71 | distributed under the License is distributed on an "AS IS" BASIS,
72 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
73 | See the License for the specific language governing permissions and
74 | limitations under the License.
75 | ```
76 |
77 | ## Special Thanks
78 |
79 | - [wandergis/coordtransform](https://github.com/wandergis/coordtransform) for its map coordinate fixing algorithm
80 |
--------------------------------------------------------------------------------